home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Blitz2 / MUI / Developer / BB2 / Include / mui.asc next >
Encoding:
Text File  |  1997-02-26  |  100.9 KB  |  2,715 lines

  1. ;**************************************************************************
  2. ;**
  3. ;** MUI - MagicUserInterface
  4. ;** (c) 1993-1997 Stefan Stuntz
  5. ;**
  6. ;** Main Header File
  7. ;**
  8. ;** /Blitz Basic 2  Interface by Erwan Fouret
  9. ;** /Added comments marked with a "/"
  10. ;**
  11. ;****************************************************************************
  12. ;** Class Tree
  13. ;****************************************************************************
  14. ;**
  15. ;** rootclass                    (BOOPSI's base class)
  16. ;** +--Notify                   (implements notification mechanism)
  17. ;** !  +--Family                (handles multiple children)
  18. ;** !  !  +--Menustrip          (describes a complete menu strip)
  19. ;** !  !  +--Menu               (describes a single menu)
  20. ;** !  !  \--Menuitem           (describes a single menu item)
  21. ;** !  +--Application           (main class for all applications)
  22. ;** !  +--Window                (main class for all windows)
  23. ;** !  !  \--Aboutmui           (About window of MUI preferences)
  24. ;** !  +--Area                  (base class for all GUI elements)
  25. ;** !     +--Rectangle          (spacing object)
  26. ;** !     +--Balance            (balancing separator bar)
  27. ;** !     +--Image              (image display)
  28. ;** !     +--Bitmap             (draws bitmaps)
  29. ;** !     !  \--Bodychunk       (makes bitmap from ILBM body chunk)
  30. ;** !     +--Text               (text display)
  31. ;** !     +--Gadget             (base class for intuition gadgets)
  32. ;** !     !  +--String          (string gadget)
  33. ;** !     !  +--Boopsi          (interface to BOOPSI gadgets)
  34. ;** !     !  \--Prop            (proportional gadget)
  35. ;** !     +--Gauge              (fule gauge)
  36. ;** !     +--Scale              (percentage scale)
  37. ;** !     +--Colorfield         (field with changeable color)
  38. ;** !     +--List               (line-oriented list)
  39. ;** !     !  +--Floattext       (special list with floating text)
  40. ;** !     !  +--Volumelist      (special list with volumes)
  41. ;** !     !  +--Scrmodelist     (special list with screen modes)
  42. ;** !     !  \--Dirlist         (special list with files)
  43. ;** !     +--Numeric            (base class for slider gadgets)
  44. ;** !     !  +--Knob            (turning knob)
  45. ;** !     !  +--Levelmeter      (level display)
  46. ;** !     !  +--Numericbutton   (space saving popup slider)
  47. ;** !     !  \--Slider          (traditional slider)
  48. ;** !     +--Framedisplay       (private)
  49. ;** !     !  \--Popframe        (private)
  50. ;** !     +--Imagedisplay       (private)
  51. ;** !     !  \--Popimage        (private)
  52. ;** !     +--Pendisplay         (displays a pen specification)
  53. ;** !     !  \--Poppen          (popup button to adjust a pen spec)
  54. ;** !     +--Group              (groups other GUI elements)
  55. ;** !        +--Mccprefs        (private)
  56. ;** !        +--Register        (handles page groups with titles)
  57. ;** !        !  \--Penadjust    (group to adjust a pen)
  58. ;** !        +--Settingsgroup   (private)
  59. ;** !        +--Settings        (private)
  60. ;** !        +--Frameadjust     (private)
  61. ;** !        +--Imageadjust     (private)
  62. ;** !        +--Virtgroup       (handles virtual groups)
  63. ;** !        +--Scrollgroup     (virtual groups with scrollbars)
  64. ;** !        +--Scrollbar       (traditional scrollbar)
  65. ;** !        +--Listview        (listview)
  66. ;** !        +--Radio           (radio button)
  67. ;** !        +--Cycle           (cycle gadget)
  68. ;** !        +--Coloradjust     (several gadgets to adjust a color)
  69. ;** !        +--Palette         (complete palette gadget)
  70. ;** !        +--Popstring       (base class for popup objects)
  71. ;** !           +--Popobject    (popup aynthing in a separate window)
  72. ;** !           !  +--Poplist   (popup a simple listview)
  73. ;** !           !  \--Popscreen (popup a list of public screens)
  74. ;** !           \--Popasl       (popup an asl requester)
  75. ;** +--Semaphore                (semaphore equipped objects)
  76. ;**    +--Applist               (private)
  77. ;**    +--Dataspace             (handles general purpose data spaces)
  78. ;**       \--Configdata         (private)
  79. ;**
  80. ;****************************************************************************
  81. ;** General Header File Information
  82. ;****************************************************************************
  83. ;**
  84. ;** All macro and structure definitions follow these rules:
  85. ;**
  86. ;** Name                       Meaning
  87. ;**
  88. ;** Macro MUIC_<class>               Name of a class
  89. ;** #MUIM_<class>_<method>      Method
  90. ;** #MUIP_<class>_<method>      Methods parameter structure
  91. ;** #MUIV_<class>_<method>_<x>  Special method value
  92. ;** #MUIA_<class>_<attrib>      Attribute
  93. ;** #MUIV_<class>_<attrib>_<x>  Special attribute value
  94. ;** #MUIE_<error>               Error return code from MUI_Error_()
  95. ;** #MUII_<name>                Standard MUI image
  96. ;** #MUIX_<code>                Control codes for text strings
  97. ;** #MUIO_<name>                Object type for MUI_MakeObjectA_()
  98. ;**
  99. ;** #MUIA_... attribute definitions are followed by a comment
  100. ;** consisting of the three possible letters I, S and G.
  101. ;** I: it's possible to specify this attribute at object creation time.
  102. ;** S: it's possible to change this attribute with SetAttrsA_().
  103. ;** G: it's possible to get this attribute with GetAttrA_().
  104. ;**
  105. ;** Items marked with "Custom Class" are for use in custom classes only!
  106.  
  107. ;/ *** BEGIN Header Added for BB2 Interface ***
  108. ;/ exec/nodes.h
  109.  
  110. NEWTYPE.MinNode
  111.  *mln_Succ.MinNode
  112.  *mln_Pred.MinNode
  113. End NEWTYPE
  114.  
  115. ;/ intuition/intuition.h
  116.  
  117. NEWTYPE.IBox
  118.  Left.w
  119.  Top.w
  120.  Width.w
  121.  Height.w
  122. End NEWTYPE
  123.  
  124. ;/ *** END Header Added for BB2 Interface
  125.  
  126. ;**************************************************************************
  127. ;** Library specification
  128. ;**************************************************************************
  129.  
  130. Macro MUIMASTER_NAME "muimaster.library" : End Macro
  131. #MUIMASTER_VMIN    = 11
  132. #MUIMASTER_VLATEST = 19
  133.  
  134. ;** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  135. ;** Warning, some of the macros in this header file work only with
  136. ;** muimaster.library V11 and above. If you recompile your programs,
  137. ;** be sure to open muimaster.library with MUIMASTER_VMIN as version number.
  138. ;** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  139.  
  140. ; comment this if you dont want to include obsolete identifiers
  141. ;/ In the BB2 interface, put #MUI_OBSOLETE to 0
  142.  
  143. #MUI_OBSOLETE=1
  144.  
  145. ;************************************************************************
  146. ;** Config items for MUIM_GetConfigItem
  147. ;************************************************************************
  148.  
  149.  
  150. #MUICFG_PublicScreen       =     36
  151.  
  152. ;************************************************************************
  153. ;** Black box specification structures for images, pens, frames
  154. ;************************************************************************
  155.  
  156. NEWTYPE.MUI_PenSpec
  157.         buf.b[32]
  158. End NEWTYPE
  159.  
  160. ;************************************************************************
  161. ;** Public Screen Stuff
  162. ;************************************************************************
  163.  
  164. ;** NOTE: This stuff is only included to allow compilation of the supplied
  165. ;**       public screen manager for educational purposes. Everything
  166. ;**       here is subject to change without notice and I guarantee to
  167. ;**       do that just for fun!
  168. ;**       More info can be found in the screen manager source file.
  169.  
  170. Macro PSD_INITIAL_NAME "(unnamed)" : End Macro
  171. Macro PSD_INITIAL_TITLE "MUI Public Screen" : End Macro
  172. #PSD_ID_MPUB    =  $4D505542  ;'MPUB'
  173.  
  174. Macro PSD_NAME_FRONTMOST Chr$(171)+"Frontmost"+Chr$(187) : End Macro
  175.  
  176. Macro PSD_FILENAME_SAVE "envarc:mui/PublicScreens.iff" : End Macro
  177. Macro PSD_FILENAME_USE "env:mui/PublicScreens.iff" : End Macro
  178.  
  179. #PSD_MAXLEN_NAME       =  32
  180. #PSD_MAXLEN_TITLE      = 128
  181. #PSD_MAXLEN_FONT       =  48
  182. #PSD_MAXLEN_BACKGROUND = 256
  183. #PSD_NUMCOLS           =   8
  184. #PSD_MAXSYSPENS        =  20
  185. #PSD_NUMSYSPENS        =  12
  186. #PSD_MAXMUIPENS        =  10
  187. #PSD_NUMMUIPENS        =   8  ;=#MPEN_COUNT
  188.  
  189. NEWTYPE.MUI_RGBcolor
  190.         _red.l   ;/Normally red (no _)
  191.         _green.l ;/Normally green (no _)
  192.         _blue.l  ;/Normally blue (no _)
  193. End NEWTYPE
  194.  
  195. NEWTYPE.MUI_PubScreenDesc
  196.         Version.l
  197.  
  198.         Name.b[#PSD_MAXLEN_NAME]
  199.         Title.b[#PSD_MAXLEN_TITLE]
  200.         Font.b[#PSD_MAXLEN_FONT]
  201.         Background.b[#PSD_MAXLEN_BACKGROUND]
  202.  
  203.         DisplayID.l
  204.  
  205.         DisplayWidth.w
  206.         DisplayHeight.w
  207.  
  208.         DisplayDepth.b
  209.         OverscanType.b
  210.         AutoScroll.b
  211.         NoDrag.b
  212.         Exclusive.b
  213.         Interleaved.b
  214.         SysDefault.b
  215.         Behind.b
  216.         AutoClose.b
  217.         CloseGadget.b
  218.         DummyWasForeign.b
  219.  
  220.         SystemPens.b[#PSD_MAXSYSPENS]
  221.         Reserved.b[1+7*4-#PSD_MAXSYSPENS]
  222.  
  223.         _Palette.MUI_RGBcolor[#PSD_NUMCOLS]       ;/Normally Palette (no _)
  224.         rsvd.MUI_RGBcolor[#PSD_MAXSYSPENS-#PSD_NUMCOLS]
  225.  
  226.         rsvd2.MUI_PenSpec[#PSD_MAXMUIPENS]
  227.  
  228.         Changed.l
  229.         *UserData.b
  230. End NEWTYPE
  231.  
  232. NEWTYPE.MUIS_InfoClient
  233.         node.MinNode
  234.         *task.b     ;/Normally .Task (Task structure from exec/tasks.h)
  235.         sigbit.l
  236. End NEWTYPE
  237.  
  238.  
  239. ;**************************************************************************
  240. ;** Object Types for MUI_MakeObject()
  241. ;**************************************************************************
  242.  
  243. #MUIO_Label       =   1   ; STRPTR label, ULONG flags
  244. #MUIO_Button      =   2   ; STRPTR label
  245. #MUIO_Checkmark   =   3   ; STRPTR label
  246. #MUIO_Cycle       =   4   ; STRPTR label, STRPTR *entries
  247. #MUIO_Radio       =   5   ; STRPTR label, STRPTR *entries
  248. #MUIO_Slider      =   6   ; STRPTR label, LONG min, LONG max
  249. #MUIO_String      =   7   ; STRPTR label, LONG maxlen
  250. #MUIO_PopButton   =   8   ; STRPTR imagespec
  251. #MUIO_HSpace      =   9   ; LONG space
  252. #MUIO_VSpace      =  10   ; LONG space
  253. #MUIO_HBar        =  11   ; LONG space
  254. #MUIO_VBar        =  12   ; LONG space
  255. #MUIO_MenustripNM =  13   ; struct NewMenu *nm, ULONG flags
  256. #MUIO_Menuitem    =  14   ; STRPTR label, STRPTR shortcut, ULONG flags, ULONG data
  257. #MUIO_BarTitle    =  15   ; STRPTR label
  258. #MUIO_NumericButton= 16   ; STRPTR label, LONG min, LONG max, STRPTR format
  259.  
  260. #MUIO_Menuitem_CopyStrings  = (1 LSL 30)
  261.  
  262. #MUIO_Label_SingleFrame    = (1 LSL  8)
  263. #MUIO_Label_DoubleFrame    = (1 LSL  9)
  264. #MUIO_Label_LeftAligned    = (1 LSL 10)
  265. #MUIO_Label_Centered       = (1 LSL 11)
  266. #MUIO_Label_FreeVert       = (1 LSL 12)
  267.  
  268. #MUIO_MenustripNM_CommandKeyCheck  = (1 LSL 0) ; check for "localized" menu items such as "O\0Open"
  269.  
  270.  
  271.  
  272. ;**************************************************************************
  273. ;** ARexx Interface
  274. ;**************************************************************************
  275.  
  276. NEWTYPE.MUI_Command
  277.         *mc_Name.b
  278.         *mc_Template.b
  279.         mc_Parameters.l
  280.         *mc_Hook.b   ;/Normally .Hook (Hook structure from utility/hook.h)
  281.         mc_Reserved.l[5]
  282. End NEWTYPE
  283.  
  284. #MC_TEMPLATE_ID = -1
  285.  
  286. #MUI_RXERR_BADDEFINITION = -1
  287. #MUI_RXERR_OUTOFMEMORY   = -2
  288. #MUI_RXERR_UNKNOWNCOMMAND= -3
  289. #MUI_RXERR_BADSYNTAX     = -4
  290.  
  291.  
  292. ;**************************************************************************
  293. ;** Return values for MUI_Error()
  294. ;**************************************************************************
  295.  
  296. #MUIE_OK                 = 0
  297. #MUIE_OutOfMemory        = 1
  298. #MUIE_OutOfGfxMemory     = 2
  299. #MUIE_InvalidWindowObject= 3
  300. #MUIE_MissingLibrary     = 4
  301. #MUIE_NoARexx            = 5
  302. #MUIE_SingleTask         = 6
  303.  
  304.  
  305.  
  306. ;**************************************************************************
  307. ;** Standard MUI Images & Backgrounds
  308. ;**************************************************************************
  309.  
  310. #MUII_WindowBack    =  0   ; These images are configured
  311. #MUII_RequesterBack =  1   ; with the preferences program.
  312. #MUII_ButtonBack    =  2
  313. #MUII_ListBack      =  3
  314. #MUII_TextBack      =  4
  315. #MUII_PropBack      =  5
  316. #MUII_PopupBack     =  6
  317. #MUII_SelectedBack  =  7
  318. #MUII_ListCursor    =  8
  319. #MUII_ListSelect    =  9
  320. #MUII_ListSelCur    = 10
  321. #MUII_ArrowUp       = 11
  322. #MUII_ArrowDown     = 12
  323. #MUII_ArrowLeft     = 13
  324. #MUII_ArrowRight    = 14
  325. #MUII_CheckMark     = 15
  326. #MUII_RadioButton   = 16
  327. #MUII_Cycle         = 17
  328. #MUII_PopUp         = 18
  329. #MUII_PopFile       = 19
  330. #MUII_PopDrawer     = 20
  331. #MUII_PropKnob      = 21
  332. #MUII_Drawer        = 22
  333. #MUII_HardDisk      = 23
  334. #MUII_Disk          = 24
  335. #MUII_Chip          = 25
  336. #MUII_Volume        = 26
  337. #MUII_RegisterBack  = 27
  338. #MUII_Network       = 28
  339. #MUII_Assign        = 29
  340. #MUII_TapePlay      = 30
  341. #MUII_TapePlayBack  = 31
  342. #MUII_TapePause     = 32
  343. #MUII_TapeStop      = 33
  344. #MUII_TapeRecord    = 34
  345. #MUII_GroupBack     = 35
  346. #MUII_SliderBack    = 36
  347. #MUII_SliderKnob    = 37
  348. #MUII_TapeUp        = 38
  349. #MUII_TapeDown      = 39
  350. #MUII_PageBack      = 40
  351. #MUII_ReadListBack  = 41
  352. #MUII_Count         = 42
  353.  
  354. #MUII_BACKGROUND    = 128    ; These are direct color
  355. #MUII_SHADOW        = 129    ; combinations and are not
  356. #MUII_SHINE         = 130    ; affected by users prefs.
  357. #MUII_FILL          = 131
  358. #MUII_SHADOWBACK    = 132    ; Generally, you should
  359. #MUII_SHADOWFILL    = 133    ; avoid using them. Better
  360. #MUII_SHADOWSHINE   = 134    ; use one of the customized
  361. #MUII_FILLBACK      = 135    ; images above.
  362. #MUII_FILLSHINE     = 136
  363. #MUII_SHINEBACK     = 137
  364. #MUII_FILLBACK2     = 138
  365. #MUII_HSHINEBACK    = 139
  366. #MUII_HSHADOWBACK   = 140
  367. #MUII_HSHINESHINE   = 141
  368. #MUII_HSHADOWSHADOW = 142
  369. #MUII_MARKSHINE     = 143
  370. #MUII_MARKHALFSHINE = 144
  371. #MUII_MARKBACKGROUND= 145
  372. #MUII_LASTPAT       = 145
  373.  
  374.  
  375.  
  376. ;**************************************************************************
  377. ;** Special values for some methods
  378. ;**************************************************************************
  379.  
  380. #MUIV_TriggerValue     = $49893131
  381. #MUIV_NotTriggerValue  = $49893133
  382. #MUIV_EveryTime        = $49893131
  383.  
  384. #MUIV_Notify_Self       = 1
  385. #MUIV_Notify_Window     = 2
  386. #MUIV_Notify_Application= 3
  387. #MUIV_Notify_Parent     = 4
  388.  
  389. #MUIV_Application_Save_ENV    =  0
  390. #MUIV_Application_Save_ENVARC = -1
  391. #MUIV_Application_Load_ENV    =  0
  392. #MUIV_Application_Load_ENVARC = -1
  393.  
  394. #MUIV_Application_ReturnID_Quit = -1
  395.  
  396. #MUIV_List_Insert_Top         =    0
  397. #MUIV_List_Insert_Active      =   -1
  398. #MUIV_List_Insert_Sorted      =   -2
  399. #MUIV_List_Insert_Bottom      =   -3
  400.  
  401. #MUIV_List_Remove_First       =    0
  402. #MUIV_List_Remove_Active      =   -1
  403. #MUIV_List_Remove_Last        =   -2
  404. #MUIV_List_Remove_Selected    =   -3
  405.  
  406. #MUIV_List_Select_Off         =    0
  407. #MUIV_List_Select_On          =    1
  408. #MUIV_List_Select_Toggle      =    2
  409. #MUIV_List_Select_Ask         =    3
  410.  
  411. #MUIV_List_GetEntry_Active    =   -1
  412. #MUIV_List_Select_Active      =   -1
  413. #MUIV_List_Select_All         =   -2
  414.  
  415. #MUIV_List_Redraw_Active      =   -1
  416. #MUIV_List_Redraw_All         =   -2
  417.  
  418. #MUIV_List_Move_Top           =    0
  419. #MUIV_List_Move_Active        =   -1
  420. #MUIV_List_Move_Bottom        =   -2
  421. #MUIV_List_Move_Next          =   -3 ; only valid for second parameter
  422. #MUIV_List_Move_Previous      =   -4 ; only valid for second parameter
  423.  
  424. #MUIV_List_Exchange_Top        =   0
  425. #MUIV_List_Exchange_Active     =  -1
  426. #MUIV_List_Exchange_Bottom     =  -2
  427. #MUIV_List_Exchange_Next       =  -3 ; only valid for second parameter
  428. #MUIV_List_Exchange_Previous   =  -4 ; only valid for second parameter
  429.  
  430. #MUIV_List_Jump_Top           =    0
  431. #MUIV_List_Jump_Active        =   -1
  432. #MUIV_List_Jump_Bottom        =   -2
  433. #MUIV_List_Jump_Up            =   -4
  434. #MUIV_List_Jump_Down          =   -3
  435.  
  436. #MUIV_List_NextSelected_Start  =  -1
  437. #MUIV_List_NextSelected_End    =  -1
  438.  
  439. #MUIV_DragQuery_Refuse = 0
  440. #MUIV_DragQuery_Accept = 1
  441.  
  442. #MUIV_DragReport_Abort    = 0
  443. #MUIV_DragReport_Continue = 1
  444. #MUIV_DragReport_Lock     = 2
  445. #MUIV_DragReport_Refresh  = 3
  446.  
  447.  
  448.  
  449.  
  450. ;**************************************************************************
  451. ;** Control codes for text strings
  452. ;**************************************************************************
  453.  
  454. #MUIX_R = $00589C24  ;"\033r"    ; right justified
  455. #MUIX_C = $00589C34  ;"\033c"    ; centered
  456. #MUIX_L = $00589C44  ;"\033l"    ; left justified
  457.  
  458. #MUIX_N = $00589C54  ;"\033n"    ; normal
  459. #MUIX_B = $00589C64  ;"\033b"    ; bold
  460. #MUIX_I = $00589C74  ;"\033i"    ; italic
  461. #MUIX_U = $00589C84  ;"\033u"    ; underlined
  462.  
  463. #MUIX_PT = $00589C94  ;"\0332"   ; text pen
  464. #MUIX_PH = $00589CA5   ;"\0338"   ; highlight text pen
  465.  
  466.  
  467.  
  468. ;**************************************************************************
  469. ;** Parameter structures for some classes
  470. ;**************************************************************************
  471.  
  472. NEWTYPE.MUI_Palette_Entry
  473.         mpe_ID.l
  474.         mpe_Red.l
  475.         mpe_Green.l
  476.         mpe_Blue.l
  477.         mpe_Group.l
  478. End NEWTYPE
  479.  
  480. #MUIV_Palette_Entry_End = -1
  481.  
  482.  
  483. ;***************************
  484. ; Application Input Handler
  485. ;***************************
  486.  
  487. NEWTYPE.MUI_InputHandlerNode
  488.         ihn_Node.MinNode
  489.         *ihn_Object.b ;/Normally .Object
  490.         ihn_Signals.l ;/Normally this is ihn_stuff.ihn_sigs
  491.         ihn_Flags.l
  492.         ihn_Method.l
  493. End NEWTYPE
  494.  
  495. NEWTYPE.MUI_InputHandlerNode_Timer
  496.         ihn_Node.MinNode
  497.         *ihn_Object.b ;/Normally .Object
  498.         ihn_Millis.w  ;/Normally this is ihn_stuff.ihn_timer.ihn_millis
  499.         ihn_Current.w ;/Normally this is ihn_stuff.ihn_timer.ihn_current
  500.         ihn_Flags.l ; see below
  501.         ihn_Method.l
  502. End NEWTYPE
  503.  
  504. ; Flags for ihn_Flags
  505. #MUIIHNF_TIMER  = (1 LSL 0) ; set ihn_Ticks to number of 1/100 sec ticks you want to be triggered
  506.  
  507.  
  508. ;**********************
  509. ; Window Event Handler
  510. ;**********************
  511.  
  512. NEWTYPE.MUI_EventHandlerNode
  513.         ehn_Node.MinNode
  514.         ehn_Reserved.b ; don't touch!
  515.         ehn_Priority.b ; event handlers are inserted according to their priority.
  516.         ehn_Flags.w    ; certain flags, see below for definitions.
  517.         *ehn_Object.b   ; object which should receive MUIM_HandleEvent.
  518.         ;/          ^ Normally .Object
  519.         *ehn_Class.b    ; if !=NULL, MUIM_HandleEvent is invoked on exactly this class with CoerceMethod().
  520.         ;/         ^ Normally.IClass
  521.         ehn_Events.l   ; one or more IDCMP flags this handler should react on.
  522. End NEWTYPE
  523.  
  524. ; flags for ehn_Flags
  525. #MUI_EHF_ALWAYSKEYS  = (1 LSL 0)
  526.  
  527. ; other values reserved for future use
  528.  
  529. ; return values for MUIM_HandleEvent (bit-masked, all other bits must be 0)
  530. #MUI_EventHandlerRC_Eat  = (1 LSL 0) ; stop MUI from calling other handlers
  531.  
  532.  
  533. ;********************
  534. ; List Position Test
  535. ;********************
  536.  
  537. NEWTYPE.MUI_List_TestPos_Result
  538.         entry.l   ; number of entry, -1 if mouse not over valid entry
  539.         column.w  ; numer of column, -1 if no valid column
  540.         flags.w   ; see below
  541.         xoffset.w ; x offset of mouse click relative to column start
  542.         yoffset.w ; y offset of mouse click from center of line
  543.                   ; (negative values mean click was above center,
  544.                   ;  positive values mean click was below center)
  545. End NEWTYPE
  546.  
  547. #MUI_LPR_ABOVE   = (1 LSL 0)
  548. #MUI_LPR_BELOW   = (1 LSL 1)
  549. #MUI_LPR_LEFT    = (1 LSL 2)
  550. #MUI_LPR_RIGHT   = (1 LSL 3)
  551.  
  552.  
  553. ;**************************************************************************
  554. ;**
  555. ;** Macro Section
  556. ;** -------------
  557. ;**
  558. ;** To make GUI creation more easy and understandable, you can use the
  559. ;** macros below. If you dont want, just define MUI_NOSHORTCUTS to disable
  560. ;** them.
  561. ;** /Set MUI_SHORTCUTS to 0 to not to have shortcuts
  562. ;**
  563. ;** These macros are available to C programmers only.
  564. ;** /For Blitz2, you have to use tags with them (see the doc)
  565. ;**
  566. ;**************************************************************************
  567.  
  568. #MUI_SHORTCUTS=1
  569.  
  570. CNIF #MUI_SHORTCUTS=1
  571.  
  572.  
  573. ;**************************************************************************
  574. ;**
  575. ;** Object Generation
  576. ;** -----------------
  577. ;**
  578. ;** The xxxObject (and xChilds) macros generate new instances of MUI classes.
  579. ;** Every xxxObject can be followed by tagitems specifying initial create
  580. ;** time attributes for the new object and must be terminated with the
  581. ;** End macro:
  582. ;**
  583. ;** obj = StringObject,
  584. ;**          MUIA_String_Contents, "foo",
  585. ;**          MUIA_String_MaxLen  , 40,
  586. ;**          End;
  587. ;**
  588. ;** With the Child, SubWindow and WindowContents shortcuts you can
  589. ;** construct a complete GUI within one command:
  590. ;**
  591. ;** app = ApplicationObject,
  592. ;**
  593. ;**          ...
  594. ;**
  595. ;**          SubWindow, WindowObject,
  596. ;**             WindowContents, VGroup,
  597. ;**                Child, String("foo",40),
  598. ;**                Child, String("bar",50),
  599. ;**                Child, HGroup,
  600. ;**                   Child, CheckMark(TRUE),
  601. ;**                   Child, CheckMark(FALSE),
  602. ;**                   End,
  603. ;**                End,
  604. ;**             End,
  605. ;**
  606. ;**          SubWindow, WindowObject,
  607. ;**             WindowContents, HGroup,
  608. ;**                Child, ...,
  609. ;**                Child, ...,
  610. ;**                End,
  611. ;**             End,
  612. ;**
  613. ;**          ...
  614. ;**
  615. ;**          End;
  616. ;**
  617. ;** /xxxObject macros removed in Blitz interface
  618. ;**************************************************************************
  619.  
  620. ;/These macros are for special object creation
  621. ;/Use them with tags
  622.  
  623. Macro MenuObjectT         #MUIA_Menu_Title,&`1       : End Macro
  624. Macro HGroup              #MUIA_Group_Horiz,1        : End Macro
  625. Macro ColGroup            #MUIA_Group_Columns,(`1)   : End Macro
  626. Macro RowGroup            #MUIA_Group_Rows   ,(`1)   : End Macro
  627. Macro PageGroup           #MUIA_Group_PageMode,1     : End Macro
  628. Macro HGroupV             #MUIA_Group_Horiz,1        : End Macro
  629. Macro ColGroupV           #MUIA_Group_Columns,(`1)   : End Macro
  630. Macro RowGroupV           #MUIA_Group_Rows   ,(`1)   : End Macro
  631. Macro PageGroupV          #MUIA_Group_PageMode,1     : End Macro
  632. Macro RegisterGroup       #MUIA_Register_Titles,(`1) : End Macro
  633. Macro _End                0                          : End Macro
  634. ; /   ^ Normally End (no _)
  635.  
  636. #Child           = $804226e6      ;=#MUIA_Group_Child
  637. #SubWindow       = $8042bfe0      ;=#MUIA_Application_Window
  638. #WindowContents  = $8042cba5      ;=#MUIA_Window_RootObject
  639.  
  640.  
  641.  
  642. ;**************************************************************************
  643. ;**
  644. ;** Frame Types
  645. ;** -----------
  646. ;**
  647. ;** These macros may be used to specify one of MUI's different frame types.
  648. ;** Note that every macro consists of one { ti_Tag, ti_Data } pair.
  649. ;**
  650. ;** GroupFrameT() is a special kind of frame that contains a centered
  651. ;** title text.
  652. ;**
  653. ;** HGroup, GroupFrameT("Horiz Groups"),
  654. ;**    Child, RectangleObject, TextFrame  , End,
  655. ;**    Child, RectangleObject, StringFrame, End,
  656. ;**    Child, RectangleObject, ButtonFrame, End,
  657. ;**    Child, RectangleObject, ListFrame  , End,
  658. ;**    End,
  659. ;**
  660. ;**/Use next macros with tags
  661. ;**************************************************************************
  662.  
  663. Macro NoFrame          #MUIA_Frame, #MUIV_Frame_None        : End Macro
  664. Macro ButtonFrame      #MUIA_Frame, #MUIV_Frame_Button      : End Macro
  665. Macro ImageButtonFrame #MUIA_Frame, #MUIV_Frame_ImageButton : End Macro
  666. Macro TextFrame        #MUIA_Frame, #MUIV_Frame_Text        : End Macro
  667. Macro StringFrame      #MUIA_Frame, #MUIV_Frame_String      : End Macro
  668. Macro ReadListFrame    #MUIA_Frame, #MUIV_Frame_ReadList    : End Macro
  669. Macro InputListFrame   #MUIA_Frame, #MUIV_Frame_InputList   : End Macro
  670. Macro PropFrame        #MUIA_Frame, #MUIV_Frame_Prop        : End Macro
  671. Macro SliderFrame      #MUIA_Frame, #MUIV_Frame_Slider      : End Macro
  672. Macro GaugeFrame       #MUIA_Frame, #MUIV_Frame_Gauge       : End Macro
  673. Macro VirtualFrame     #MUIA_Frame, #MUIV_Frame_Virtual     : End Macro
  674. Macro GroupFrame       #MUIA_Frame, #MUIV_Frame_Group       : End Macro
  675. Macro GroupFrameT      #MUIA_Frame, #MUIV_Frame_Group, #MUIA_FrameTitle, &`1, #MUIA_Background, #MUII_GroupBack : End Macro
  676.  
  677.  
  678.  
  679. ;**************************************************************************
  680. ;**
  681. ;** Spacing Macros
  682. ;** --------------
  683. ;**
  684. ;**************************************************************************
  685.  
  686. Macro HVSpace               MUI_NewObjectA_("Rectangle.mui",0): End Macro
  687. Macro HSpace                MUI_MakeObjectA_(#MUIO_HSpace,`1) : End Macro
  688. Macro VSpace                MUI_MakeObjectA_(#MUIO_VSpace,`1) : End Macro
  689. ;/The macros HCenter and VCenter have been removed in BB2 interface
  690. ;/Please see the doc for more details
  691. Macro InnerSpacing #MUIA_InnerLeft,(`1),#MUIA_InnerRight,(`2),#MUIA_InnerTop,(`2),#MUIA_InnerBottom,(`2) : End Macro
  692. Macro GroupSpacing #MUIA_Group_Spacing,`1 : End Macro
  693.  
  694.  
  695.  
  696. CNIF #MUI_OBSOLETE=1
  697.  
  698. ;**************************************************************************
  699. ;**
  700. ;** String-Object
  701. ;** -------------
  702. ;**
  703. ;** The following macro creates a simple string gadget.
  704. ;**
  705. ;**************************************************************************
  706. ;/Macros removed in BB2 interface (see the doc)
  707.  
  708. CEND
  709.  
  710.  
  711.  
  712. CNIF #MUI_OBSOLETE=1
  713.  
  714. ;**************************************************************************
  715. ;**
  716. ;** CheckMark-Object
  717. ;** ----------------
  718. ;**
  719. ;** The following macro creates a checkmark gadget.
  720. ;**
  721. ;**************************************************************************
  722. ;/Macros removed in BB2 interface (see the doc)
  723.  
  724. CEND
  725.  
  726.  
  727. ;**************************************************************************
  728. ;**
  729. ;** Button-Objects
  730. ;** --------------
  731. ;**
  732. ;** Note: Use small letters for KeyButtons, e.g.
  733. ;**       KeyButton("Cancel",'c')  and not  KeyButton("Cancel",'C') !!
  734. ;**
  735. ;**************************************************************************
  736.  
  737. Macro SimpleButton MUI_MakeObjectA_(#MUIO_Button,&`1) : End Macro
  738.  
  739. CNIF #MUI_OBSOLETE=1
  740.  
  741. ;/Macros removed in BB2 interface (see the doc)
  742.  
  743. CEND
  744.  
  745. CNIF #MUI_OBSOLETE=1
  746.  
  747. ;**************************************************************************
  748. ;**
  749. ;** Cycle-Object
  750. ;** ------------
  751. ;**
  752. ;**************************************************************************
  753.  
  754. ;/Macros removed in BB2 interface (see the doc)
  755.  
  756. ;**************************************************************************
  757. ;**
  758. ;** Radio-Object
  759. ;** ------------
  760. ;**
  761. ;**************************************************************************
  762.  
  763. ;/Macros removed in BB2 interface (see the doc)
  764.  
  765. ;**************************************************************************
  766. ;**
  767. ;** Slider-Object
  768. ;** -------------
  769. ;**
  770. ;**************************************************************************
  771.  
  772. ;/Macros removed in BB2 interface (see the doc)
  773.  
  774. CEND
  775.  
  776.  
  777.  
  778. ;**************************************************************************
  779. ;**
  780. ;** Button to be used for popup objects
  781. ;**
  782. ;**************************************************************************
  783.  
  784. Macro PopButton MUI_MakeObjectA_(#MUIO_PopButton,`1) : End Macro
  785.  
  786.  
  787.  
  788. ;**************************************************************************
  789. ;**
  790. ;** Labeling Objects
  791. ;** ----------------
  792. ;**
  793. ;** Labeling objects, e.g. a group of string gadgets,
  794. ;**
  795. ;**   Small: |foo   |
  796. ;**  Normal: |bar   |
  797. ;**     Big: |foobar|
  798. ;**    Huge: |barfoo|
  799. ;**
  800. ;** is done using a 2 column group:
  801. ;**
  802. ;** ColGroup(2),
  803. ;**     Child, Label2("Small:" ),
  804. ;**    Child, StringObject, End,
  805. ;**     Child, Label2("Normal:"),
  806. ;**    Child, StringObject, End,
  807. ;**     Child, Label2("Big:"   ),
  808. ;**    Child, StringObject, End,
  809. ;**     Child, Label2("Huge:"  ),
  810. ;**    Child, StringObject, End,
  811. ;**    End,
  812. ;**
  813. ;** Note that we have three versions of the label macro, depending on
  814. ;** the frame type of the right hand object:
  815. ;**
  816. ;** Label1(): For use with standard frames (e.g. checkmarks).
  817. ;** Label2(): For use with double high frames (e.g. string gadgets).
  818. ;** Label() : For use with objects without a frame.
  819. ;**
  820. ;** These macros ensure that your label will look fine even if the
  821. ;** user of your application configured some strange spacing values.
  822. ;** If you want to use your own labeling, you'll have to pay attention
  823. ;** on this topic yourself.
  824. ;**
  825. ;**************************************************************************
  826.  
  827. ;/Macros removed in BB2 interface (see the doc)
  828.  
  829. ;**************************************************************************
  830. ;**
  831. ;** Controlling Objects
  832. ;** -------------------
  833. ;**
  834. ;** set() and get() are two short stubs for BOOPSI GetAttr() and SetAttrs()
  835. ;** calls:
  836. ;**
  837. ;** {
  838. ;**    char *x;
  839. ;**
  840. ;**    set(obj,MUIA_String_Contents,"foobar");
  841. ;**    get(obj,MUIA_String_Contents,&x);
  842. ;**
  843. ;**    printf("gadget contains '%s'\n",x);
  844. ;** }
  845. ;**
  846. ;** nnset() sets an attribute without triggering a possible notification.
  847. ;**
  848. ;**************************************************************************
  849.  
  850. ;/Macros removed in BB2 interface (see the doc)
  851.  
  852. CEND ; MUI_SHORTCUTS
  853.  
  854.  
  855. ;**************************************************************************
  856. ;**
  857. ;** For Boopsi Image Implementors Only:
  858. ;**
  859. ;** If MUI is using a boopsi image object, it will send a special method
  860. ;** immediately after object creation. This method has a parameter structure
  861. ;** where the boopsi can fill in its minimum and maximum size and learn if
  862. ;** its used in a horizontal or vertical context.
  863. ;**
  864. ;** The boopsi image must use the method id (MUIM_BoopsiQuery) as return
  865. ;** value. That's how MUI sees that the method is implemented.
  866. ;**
  867. ;** Note: MUI does not depend on this method. If the boopsi image doesn't
  868. ;**       implement it, minimum size will be 0 and maximum size unlimited.
  869. ;**
  870. ;**************************************************************************
  871.  
  872. #MUIM_BoopsiQuery  = $80427157 ; this is send to the boopsi and
  873.                                     ; must be used as return value
  874.  
  875. NEWTYPE.MUI_BoopsiQuery              ; parameter structure
  876.         mbq_MethodID.l              ; always MUIM_BoopsiQuery
  877.  
  878.         *mbq_Screen.b       ; obsolete, use mbq_RenderInfo
  879. ;/Normally .Screen  ^
  880.         mbq_Flags.l                 ; read only, see below
  881.  
  882.         mbq_MinWidth.l              ; write only, fill in min width
  883.         mbq_MinHeight.l             ; write only, fill in min height
  884.         mbq_MaxWidth.l              ; write only, fill in max width
  885.         mbq_MaxHeight.l             ; write only, fill in max height
  886.         mbq_DefWidth.l              ; write only, fill in def width
  887.         mbq_DefHeight.l             ; write only, fill in def height
  888.  
  889.         *mbq_RenderInfo.MUI_RenderInfo  ; read only, display context
  890.  
  891.         ; may grow in future ...
  892. End NEWTYPE
  893.  
  894. #MBQF_HORIZ  = (1 LSL 0)           ; object used in a horizontal
  895.                                     ; context (else vertical)
  896.  
  897. #MBQ_MUI_MAXMAX = (10000)          ; use this for unlimited MaxWidth/Height
  898.  
  899.  
  900. ;*****************************************
  901. ; Begin of automatic header file creation
  902. ;*****************************************
  903.  
  904.  
  905.  
  906.  
  907. ;**************************************************************************
  908. ;* Notify                                                                 *
  909. ;**************************************************************************
  910.  
  911. Macro MUIC_Notify "Notify.mui" : End Macro
  912.  
  913. ; Methods
  914.  
  915. #MUIM_CallHook                        = $8042b96b ; V4
  916. #MUIM_Export                          = $80420f1c ; V12
  917. #MUIM_FindUData                       = $8042c196 ; V8
  918. #MUIM_GetConfigItem                   = $80423edb ; V11
  919. #MUIM_GetUData                        = $8042ed0c ; V8
  920. #MUIM_Import                          = $8042d012 ; V12
  921. #MUIM_KillNotify                      = $8042d240 ; V4
  922. #MUIM_KillNotifyObj                   = $8042b145 ; V16
  923. #MUIM_MultiSet                        = $8042d356 ; V7
  924. #MUIM_NoNotifySet                     = $8042216f ; V9
  925. #MUIM_Notify                          = $8042c9cb ; V4
  926. #MUIM_Set                             = $8042549a ; V4
  927. #MUIM_SetAsString                     = $80422590 ; V4
  928. #MUIM_SetUData                        = $8042c920 ; V8
  929. #MUIM_SetUDataOnce                    = $8042ca19 ; V11
  930. #MUIM_WriteLong                       = $80428d86 ; V6
  931. #MUIM_WriteString                     = $80424bf4 ; V6
  932. NEWTYPE.MUIP_CallHook MethodID.l: *Hook.b: param1.l : End NEWTYPE
  933. ;/Normally .Hook (utility/hooks.h)     ^
  934. NEWTYPE.MUIP_Export MethodID.l: *dataspace.b : End NEWTYPE
  935. ;/Normally .Object                        ^
  936. NEWTYPE.MUIP_FindUData MethodID.l: udata.l : End NEWTYPE
  937. NEWTYPE.MUIP_GetConfigItem MethodID.l: id.l: *storage.l : End NEWTYPE
  938. NEWTYPE.MUIP_GetUData MethodID.l:udata.l:attr.l:*storage.l : End NEWTYPE
  939. NEWTYPE.MUIP_Import MethodID.l:*dataspace.b : End NEWTYPE
  940. ;/Normally .Object                       ^
  941. NEWTYPE.MUIP_KillNotify MethodID.l:TrigAttr.l : End NEWTYPE
  942. NEWTYPE.MUIP_KillNotifyObj MethodID.l:TrigAttr.l:*dest.b : End NEWTYPE
  943. ;/Normally .Object                                    ^
  944. NEWTYPE.MUIP_MultiSet MethodID.l:attr.l:_val.l:*obj.b : End NEWTYPE
  945. ;/Normally val (no _)                   ^
  946. NEWTYPE.MUIP_NoNotifySet MethodID.l: attr.l:*_format.b:_val.l : End NEWTYPE
  947. ;/Normally val and format (no _)             ^         ^
  948. NEWTYPE.MUIP_Notify MethodID.l: TrigAttr.l:TrigVal.l:*DestObj.b:FollowParams.l:End NEWTYPE
  949. NEWTYPE.MUIP_Set MethodID.l:attr.l:_val.l : End NEWTYPE
  950. ;/Normally val (no _)              ^
  951. NEWTYPE.MUIP_SetAsString MethodID.l:attr.l:*_format.b:_val.l:End NEWTYPE
  952. ;/Normally format and val (no _)            ^         ^
  953. NEWTYPE.MUIP_SetUData MethodID.l: udata.l:attr.l:_val.l : End NEWTYPE
  954. ;/Normally val (no _)                            ^
  955. NEWTYPE.MUIP_SetUDataOnce MethodID.l:udata.l:attr.l:_val.l : End NEWTYPE
  956. ;/Normally val (no _)                               ^
  957. NEWTYPE.MUIP_WriteLong MethodID.l:_val.l:*memory.l : End NEWTYPE
  958. ;/Normally val (no _)             ^
  959. NEWTYPE.MUIP_WriteString MethodID.l: *str.b: *memory.b : End NEWTYPE
  960.  
  961. ; Attributes
  962.  
  963. #MUIA_ApplicationObject               = $8042d3ee ; V4  ..g Object *
  964. #MUIA_AppMessage                      = $80421955 ; V5  ..g struct AppMessage *
  965. #MUIA_HelpLine                        = $8042a825 ; V4  isg LONG
  966. #MUIA_HelpNode                        = $80420b85 ; V4  isg STRPTR
  967. #MUIA_NoNotify                        = $804237f9 ; V7  .s. BOOL
  968. #MUIA_ObjectID                        = $8042d76e ; V11 isg ULONG
  969. #MUIA_Parent                          = $8042e35f ; V11 ..g Object *
  970. #MUIA_Revision                        = $80427eaa ; V4  ..g LONG
  971. #MUIA_UserData                        = $80420313 ; V4  isg ULONG
  972. #MUIA_Version                         = $80422301 ; V4  ..g LONG
  973.  
  974.  
  975.  
  976. ;**************************************************************************
  977. ;* Family                                                                 *
  978. ;**************************************************************************
  979.  
  980. Macro MUIC_Family "Family.mui" : End Macro : End Macro
  981.  
  982. ; Methods
  983.  
  984. #MUIM_Family_AddHead                  = $8042e200 ; V8
  985. #MUIM_Family_AddTail                  = $8042d752 ; V8
  986. #MUIM_Family_Insert                   = $80424d34 ; V8
  987. #MUIM_Family_Remove                   = $8042f8a9 ; V8
  988. #MUIM_Family_Sort                     = $80421c49 ; V8
  989. #MUIM_Family_Transfer                 = $8042c14a ; V8
  990. NEWTYPE.MUIP_Family_AddHead        MethodID.l: *obj.b : End NEWTYPE
  991. ;/Normally .Object                                 ^
  992. NEWTYPE.MUIP_Family_AddTail        MethodID.l: *obj.b : End NEWTYPE
  993. ;/Normally .Object                                 ^
  994. NEWTYPE.MUIP_Family_Insert         MethodID.l: *obj.b : *pred.b : End NEWTYPE
  995. ;/Normally .Object                                 ^         ^
  996. NEWTYPE.MUIP_Family_Remove         MethodID.l: *obj.b : End NEWTYPE
  997. ;/Normally .Object                                 ^
  998. NEWTYPE.MUIP_Family_Sort           MethodID.l: *obj.b[1] : End NEWTYPE
  999. ;/Normally .Object                                 ^
  1000. NEWTYPE.MUIP_Family_Transfer       MethodID.l: *family.b : End NEWTYPE
  1001. ;/Normally .Object                                    ^
  1002.  
  1003. ; Attributes
  1004.  
  1005. #MUIA_Family_Child                    = $8042c696 ; V8  i.. Object *
  1006. #MUIA_Family_List                     = $80424b9e ; V8  ..g struct MinList *
  1007.  
  1008.  
  1009.  
  1010. ;**************************************************************************
  1011. ;* Menustrip                                                              *
  1012. ;**************************************************************************
  1013.  
  1014. Macro MUIC_Menustrip "Menustrip.mui" : End Macro
  1015.  
  1016. ; Methods
  1017.  
  1018.  
  1019. ; Attributes
  1020.  
  1021. #MUIA_Menustrip_Enabled               = $8042815b ; V8  isg BOOL
  1022.  
  1023.  
  1024.  
  1025. ;**************************************************************************
  1026. ;* Menu                                                                   *
  1027. ;**************************************************************************
  1028.  
  1029. Macro MUIC_Menu "Menu.mui" : End Macro
  1030.  
  1031. ; Methods
  1032.  
  1033.  
  1034. ; Attributes
  1035.  
  1036. #MUIA_Menu_Enabled                    = $8042ed48 ; V8  isg BOOL
  1037. #MUIA_Menu_Title                      = $8042a0e3 ; V8  isg STRPTR
  1038.  
  1039.  
  1040.  
  1041. ;**************************************************************************
  1042. ;* Menuitem                                                               *
  1043. ;**************************************************************************
  1044.  
  1045. Macro MUIC_Menuitem "Menuitem.mui" : End Macro
  1046.  
  1047. ; Methods
  1048.  
  1049.  
  1050. ; Attributes
  1051.  
  1052. #MUIA_Menuitem_Checked                = $8042562a ; V8  isg BOOL
  1053. #MUIA_Menuitem_Checkit                = $80425ace ; V8  isg BOOL
  1054. #MUIA_Menuitem_CommandString          = $8042b9cc ; V16 isg BOOL
  1055. #MUIA_Menuitem_Enabled                = $8042ae0f ; V8  isg BOOL
  1056. #MUIA_Menuitem_Exclude                = $80420bc6 ; V8  isg LONG
  1057. #MUIA_Menuitem_Shortcut               = $80422030 ; V8  isg STRPTR
  1058. #MUIA_Menuitem_Title                  = $804218be ; V8  isg STRPTR
  1059. #MUIA_Menuitem_Toggle                 = $80424d5c ; V8  isg BOOL
  1060. #MUIA_Menuitem_Trigger                = $80426f32 ; V8  ..g struct MenuItem *
  1061.  
  1062. #MUIV_Menuitem_Shortcut_Check = -1
  1063.  
  1064.  
  1065. ;**************************************************************************
  1066. ;* Application                                                            *
  1067. ;**************************************************************************
  1068.  
  1069. Macro MUIC_Application "Application.mui" : End Macro
  1070.  
  1071. ; Methods
  1072.  
  1073. #MUIM_Application_AboutMUI            = $8042d21d ; V14
  1074. #MUIM_Application_AddInputHandler     = $8042f099 ; V11
  1075. #MUIM_Application_CheckRefresh        = $80424d68 ; V11
  1076. CNIF #MUI_OBSOLETE=1
  1077. #MUIM_Application_GetMenuCheck        = $8042c0a7 ; V4
  1078. CEND ; MUI_OBSOLETE
  1079. CNIF #MUI_OBSOLETE=1
  1080. #MUIM_Application_GetMenuState        = $8042a58f ; V4
  1081. CEND ; MUI_OBSOLETE
  1082. CNIF #MUI_OBSOLETE=1
  1083. #MUIM_Application_Input               = $8042d0f5 ; V4
  1084. CEND ; MUI_OBSOLETE
  1085. #MUIM_Application_InputBuffered       = $80427e59 ; V4
  1086. #MUIM_Application_Load                = $8042f90d ; V4
  1087. #MUIM_Application_NewInput            = $80423ba6 ; V11
  1088. #MUIM_Application_OpenConfigWindow    = $804299ba ; V11
  1089. #MUIM_Application_PushMethod          = $80429ef8 ; V4
  1090. #MUIM_Application_RemInputHandler     = $8042e7af ; V11
  1091. #MUIM_Application_ReturnID            = $804276ef ; V4
  1092. #MUIM_Application_Save                = $804227ef ; V4
  1093. #MUIM_Application_SetConfigItem       = $80424a80 ; V11
  1094. CNIF #MUI_OBSOLETE=1
  1095. #MUIM_Application_SetMenuCheck        = $8042a707 ; V4
  1096. CEND ; MUI_OBSOLETE
  1097. CNIF #MUI_OBSOLETE=1
  1098. #MUIM_Application_SetMenuState        = $80428bef ; V4
  1099. CEND ; MUI_OBSOLETE
  1100. #MUIM_Application_ShowHelp            = $80426479 ; V4
  1101. NEWTYPE.MUIP_Application_AboutMUI  MethodID.l: *refwindow.b : End NEWTYPE
  1102. ;/Normally .Object                                       ^
  1103. NEWTYPE.MUIP_Application_AddInputHandler    MethodID.l:*ihnode.MUI_InputHandlerNode : End NEWTYPE
  1104. NEWTYPE.MUIP_Application_CheckRefresh       MethodID.l: End NEWTYPE
  1105. NEWTYPE.MUIP_Application_GetMenuCheck       MethodID.l:MenuID.l : End NEWTYPE
  1106. NEWTYPE.MUIP_Application_GetMenuState       MethodID.l:MenuID.l : End NEWTYPE
  1107. NEWTYPE.MUIP_Application_Input     MethodID.l: *signal.l : End NEWTYPE
  1108. NEWTYPE.MUIP_Application_InputBuffered      MethodID.l: End NEWTYPE
  1109. NEWTYPE.MUIP_Application_Load      MethodID.l: *name.b : End NEWTYPE
  1110. NEWTYPE.MUIP_Application_NewInput  MethodID.l: *signal.l : End NEWTYPE
  1111. NEWTYPE.MUIP_Application_OpenConfigWindow   MethodID.l:flags.l : End NEWTYPE
  1112. NEWTYPE.MUIP_Application_PushMethod         MethodID.l:*dest.b:count.l : End NEWTYPE
  1113. ;/Normally .Object                                          ^
  1114. NEWTYPE.MUIP_Application_RemInputHandler    MethodID.l:*ihnode.MUI_InputHandlerNode : End NEWTYPE
  1115. NEWTYPE.MUIP_Application_ReturnID  MethodID.l: retid.l : End NEWTYPE
  1116. NEWTYPE.MUIP_Application_Save      MethodID.l: *name.b : End NEWTYPE
  1117. NEWTYPE.MUIP_Application_SetConfigItem      MethodID.l:item.l: *_data.b: : End NEWTYPE
  1118. ;/Normally data (no _)                                          ^
  1119. NEWTYPE.MUIP_Application_SetMenuCheck       MethodID.l:MenuID.l:stat.l : End NEWTYPE
  1120. NEWTYPE.MUIP_Application_SetMenuState       MethodID.l:MenuID.l:stat.l : End NEWTYPE
  1121. NEWTYPE.MUIP_Application_ShowHelp  MethodID.l:*_window.b:*name.b:*node.b:_line.l: End NEWTYPE
  1122. ;/Normally .Object                                    ^
  1123. ;/Normally window and line (no _)              ^                         ^
  1124.  
  1125. ; Attributes
  1126.  
  1127. #MUIA_Application_Active              = $804260ab ; V4  isg BOOL
  1128. #MUIA_Application_Author              = $80424842 ; V4  i.g STRPTR
  1129. #MUIA_Application_Base                = $8042e07a ; V4  i.g STRPTR
  1130. #MUIA_Application_Broker              = $8042dbce ; V4  ..g Broker *
  1131. #MUIA_Application_BrokerHook          = $80428f4b ; V4  isg struct Hook *
  1132. #MUIA_Application_BrokerPort          = $8042e0ad ; V6  ..g struct MsgPort *
  1133. #MUIA_Application_BrokerPri           = $8042c8d0 ; V6  i.g LONG
  1134. #MUIA_Application_Commands            = $80428648 ; V4  isg struct MUI_Command *
  1135. #MUIA_Application_Copyright           = $8042ef4d ; V4  i.g STRPTR
  1136. #MUIA_Application_Description         = $80421fc6 ; V4  i.g STRPTR
  1137. #MUIA_Application_DiskObject          = $804235cb ; V4  isg struct DiskObject *
  1138. #MUIA_Application_DoubleStart         = $80423bc6 ; V4  ..g BOOL
  1139. #MUIA_Application_DropObject          = $80421266 ; V5  is. Object *
  1140. #MUIA_Application_ForceQuit           = $804257df ; V8  ..g BOOL
  1141. #MUIA_Application_HelpFile            = $804293f4 ; V8  isg STRPTR
  1142. #MUIA_Application_Iconified           = $8042a07f ; V4  .sg BOOL
  1143. CNIF #MUI_OBSOLETE=1
  1144. #MUIA_Application_Menu                = $80420e1f ; V4  i.g struct NewMenu *
  1145. CEND ; MUI_OBSOLETE
  1146. #MUIA_Application_MenuAction          = $80428961 ; V4  ..g ULONG
  1147. #MUIA_Application_MenuHelp            = $8042540b ; V4  ..g ULONG
  1148. #MUIA_Application_Menustrip           = $804252d9 ; V8  i.. Object *
  1149. #MUIA_Application_RexxHook            = $80427c42 ; V7  isg struct Hook *
  1150. #MUIA_Application_RexxMsg             = $8042fd88 ; V4  ..g struct RxMsg *
  1151. #MUIA_Application_RexxString          = $8042d711 ; V4  .s. STRPTR
  1152. #MUIA_Application_SingleTask          = $8042a2c8 ; V4  i.. BOOL
  1153. #MUIA_Application_Sleep               = $80425711 ; V4  .s. BOOL
  1154. #MUIA_Application_Title               = $804281b8 ; V4  i.g STRPTR
  1155. #MUIA_Application_UseCommodities      = $80425ee5 ; V10 i.. BOOL
  1156. #MUIA_Application_UseRexx             = $80422387 ; V10 i.. BOOL
  1157. #MUIA_Application_Version             = $8042b33f ; V4  i.g STRPTR
  1158. #MUIA_Application_Window              = $8042bfe0 ; V4  i.. Object *
  1159. #MUIA_Application_WindowList          = $80429abe ; V13 ..g struct List *
  1160.  
  1161. #MUIV_Application_Package_NetConnect  = $a3ff7b49
  1162.  
  1163.  
  1164. ;**************************************************************************
  1165. ;* Window                                                                 *
  1166. ;**************************************************************************
  1167.  
  1168. Macro MUIC_Window "Window.mui" : End Macro
  1169.  
  1170. ; Methods
  1171.  
  1172. #MUIM_Window_AddEventHandler          = $804203b7 ; V16
  1173. CNIF #MUI_OBSOLETE=1
  1174. #MUIM_Window_GetMenuCheck             = $80420414 ; V4
  1175. CEND ; MUI_OBSOLETE
  1176. CNIF #MUI_OBSOLETE=1
  1177. #MUIM_Window_GetMenuState             = $80420d2f ; V4
  1178. CEND ; MUI_OBSOLETE
  1179. #MUIM_Window_RemEventHandler          = $8042679e ; V16
  1180. #MUIM_Window_ScreenToBack             = $8042913d ; V4
  1181. #MUIM_Window_ScreenToFront            = $804227a4 ; V4
  1182. CNIF #MUI_OBSOLETE=1
  1183. #MUIM_Window_SetCycleChain            = $80426510 ; V4
  1184. CEND ; MUI_OBSOLETE
  1185. CNIF #MUI_OBSOLETE=1
  1186. #MUIM_Window_SetMenuCheck             = $80422243 ; V4
  1187. CEND ; MUI_OBSOLETE
  1188. CNIF #MUI_OBSOLETE=1
  1189. #MUIM_Window_SetMenuState             = $80422b5e ; V4
  1190. CEND ; MUI_OBSOLETE
  1191. #MUIM_Window_Snapshot                 = $8042945e ; V11
  1192. #MUIM_Window_ToBack                   = $8042152e ; V4
  1193. #MUIM_Window_ToFront                  = $8042554f ; V4
  1194. NEWTYPE.MUIP_Window_AddEventHandler         MethodID.l:*ehnode.MUI_EventHandlerNode : End NEWTYPE
  1195. NEWTYPE.MUIP_Window_GetMenuCheck   MethodID.l: MenuID.l : End NEWTYPE
  1196. NEWTYPE.MUIP_Window_GetMenuState   MethodID.l: MenuID.l : End NEWTYPE
  1197. NEWTYPE.MUIP_Window_RemEventHandler         MethodID.l:*ehnode.MUI_EventHandlerNode : End NEWTYPE
  1198. NEWTYPE.MUIP_Window_ScreenToBack            MethodID.l: End NEWTYPE
  1199. NEWTYPE.MUIP_Window_ScreenToFront           MethodID.l: End NEWTYPE
  1200. NEWTYPE.MUIP_Window_SetCycleChain  MethodID.l: *obj.b[1] : End NEWTYPE
  1201. ;/Normally .Object                                 ^
  1202. NEWTYPE.MUIP_Window_SetMenuCheck   MethodID.l: MenuID.l: stat.l : End NEWTYPE
  1203. NEWTYPE.MUIP_Window_SetMenuState   MethodID.l: MenuID.l: stat.l : End NEWTYPE
  1204. NEWTYPE.MUIP_Window_Snapshot       MethodID.l: flags.l : End NEWTYPE
  1205. NEWTYPE.MUIP_Window_ToBack                  MethodID.l: End NEWTYPE
  1206. NEWTYPE.MUIP_Window_ToFront                 MethodID.l: End NEWTYPE
  1207.  
  1208. ; Attributes
  1209.  
  1210. #MUIA_Window_Activate                 = $80428d2f ; V4  isg BOOL
  1211. #MUIA_Window_ActiveObject             = $80427925 ; V4  .sg Object *
  1212. #MUIA_Window_AltHeight                = $8042cce3 ; V4  i.g LONG
  1213. #MUIA_Window_AltLeftEdge              = $80422d65 ; V4  i.g LONG
  1214. #MUIA_Window_AltTopEdge               = $8042e99b ; V4  i.g LONG
  1215. #MUIA_Window_AltWidth                 = $804260f4 ; V4  i.g LONG
  1216. #MUIA_Window_AppWindow                = $804280cf ; V5  i.. BOOL
  1217. #MUIA_Window_Backdrop                 = $8042c0bb ; V4  i.. BOOL
  1218. #MUIA_Window_Borderless               = $80429b79 ; V4  i.. BOOL
  1219. #MUIA_Window_CloseGadget              = $8042a110 ; V4  i.. BOOL
  1220. #MUIA_Window_CloseRequest             = $8042e86e ; V4  ..g BOOL
  1221. #MUIA_Window_DefaultObject            = $804294d7 ; V4  isg Object *
  1222. #MUIA_Window_DepthGadget              = $80421923 ; V4  i.. BOOL
  1223. #MUIA_Window_DragBar                  = $8042045d ; V4  i.. BOOL
  1224. #MUIA_Window_FancyDrawing             = $8042bd0e ; V8  isg BOOL
  1225. #MUIA_Window_Height                   = $80425846 ; V4  i.g LONG
  1226. #MUIA_Window_ID                       = $804201bd ; V4  isg ULONG
  1227. #MUIA_Window_InputEvent               = $804247d8 ; V4  ..g struct InputEvent *
  1228. #MUIA_Window_IsSubWindow              = $8042b5aa ; V4  isg BOOL
  1229. #MUIA_Window_LeftEdge                 = $80426c65 ; V4  i.g LONG
  1230. CNIF #MUI_OBSOLETE=1
  1231. #MUIA_Window_Menu                     = $8042db94 ; V4  i.. struct NewMenu *
  1232. CEND ; MUI_OBSOLETE
  1233. #MUIA_Window_MenuAction               = $80427521 ; V8  isg ULONG
  1234. #MUIA_Window_Menustrip                = $8042855e ; V8  i.g Object *
  1235. #MUIA_Window_MouseObject              = $8042bf9b ; V10 ..g Object *
  1236. #MUIA_Window_NeedsMouseObject         = $8042372a ; V10 i.. BOOL
  1237. #MUIA_Window_NoMenus                  = $80429df5 ; V4  is. BOOL
  1238. #MUIA_Window_Open                     = $80428aa0 ; V4  .sg BOOL
  1239. #MUIA_Window_PublicScreen             = $804278e4 ; V6  isg STRPTR
  1240. #MUIA_Window_RefWindow                = $804201f4 ; V4  is. Object *
  1241. #MUIA_Window_RootObject               = $8042cba5 ; V4  isg Object *
  1242. #MUIA_Window_Screen                   = $8042df4f ; V4  isg struct Screen *
  1243. #MUIA_Window_ScreenTitle              = $804234b0 ; V5  isg STRPTR
  1244. #MUIA_Window_SizeGadget               = $8042e33d ; V4  i.. BOOL
  1245. #MUIA_Window_SizeRight                = $80424780 ; V4  i.. BOOL
  1246. #MUIA_Window_Sleep                    = $8042e7db ; V4  .sg BOOL
  1247. #MUIA_Window_Title                    = $8042ad3d ; V4  isg STRPTR
  1248. #MUIA_Window_TopEdge                  = $80427c66 ; V4  i.g LONG
  1249. #MUIA_Window_UseBottomBorderScroller  = $80424e79 ; V13 isg BOOL
  1250. #MUIA_Window_UseLeftBorderScroller    = $8042433e ; V13 isg BOOL
  1251. #MUIA_Window_UseRightBorderScroller   = $8042c05e ; V13 isg BOOL
  1252. #MUIA_Window_Width                    = $8042dcae ; V4  i.g LONG
  1253. #MUIA_Window_Window                   = $80426a42 ; V4  ..g struct Window *
  1254.  
  1255. #MUIV_Window_ActiveObject_None = 0
  1256. #MUIV_Window_ActiveObject_Next = -1
  1257. #MUIV_Window_ActiveObject_Prev = -2
  1258. Macro MUIV_Window_AltHeight_MinMax (0-(`1)) : End Macro
  1259. Macro MUIV_Window_AltHeight_Visible (-100-(`1)) : End Macro
  1260. Macro MUIV_Window_AltHeight_Screen (-200-(`1)) : End Macro
  1261. #MUIV_Window_AltHeight_Scaled = -1000
  1262. #MUIV_Window_AltLeftEdge_Centered = -1
  1263. #MUIV_Window_AltLeftEdge_Moused = -2
  1264. #MUIV_Window_AltLeftEdge_NoChange = -1000
  1265. #MUIV_Window_AltTopEdge_Centered = -1
  1266. #MUIV_Window_AltTopEdge_Moused = -2
  1267. Macro MUIV_Window_AltTopEdge_Delta (-3-(`1)) : End Macro
  1268. #MUIV_Window_AltTopEdge_NoChange = -1000
  1269. Macro MUIV_Window_AltWidth_MinMax (0-(`1)) : End Macro
  1270. Macro MUIV_Window_AltWidth_Visible (-100-(`1)) : End Macro
  1271. Macro MUIV_Window_AltWidth_Screen (-200-(`1)) : End Macro
  1272. #MUIV_Window_AltWidth_Scaled = -1000
  1273. Macro MUIV_Window_Height_MinMax (0-(`1)) : End Macro
  1274. Macro MUIV_Window_Height_Visible (-100-(`1)) : End Macro
  1275. Macro MUIV_Window_Height_Screen (-200-(`1)) : End Macro
  1276. #MUIV_Window_Height_Scaled =-1000
  1277. #MUIV_Window_Height_Default= -1001
  1278. #MUIV_Window_LeftEdge_Centered =-1
  1279. #MUIV_Window_LeftEdge_Moused =-2
  1280. CNIF #MUI_OBSOLETE=1
  1281. #MUIV_Window_Menu_NoMenu =-1
  1282. CEND ; MUI_OBSOLETE
  1283. #MUIV_Window_TopEdge_Centered= -1
  1284. #MUIV_Window_TopEdge_Moused =-2
  1285. Macro MUIV_Window_TopEdge_Delta (-3-(`1)) : End Macro
  1286. Macro MUIV_Window_Width_MinMax (0-(`1)) : End Macro
  1287. Macro MUIV_Window_Width_Visible (-100-(`1)) : End Macro
  1288. Macro MUIV_Window_Width_Screen (-200-(`1)) : End Macro
  1289. #MUIV_Window_Width_Scaled =-1000
  1290. #MUIV_Window_Width_Default= -1001
  1291.  
  1292.  
  1293. ;**************************************************************************
  1294. ;* Aboutmui                                                               *
  1295. ;**************************************************************************
  1296.  
  1297. Macro MUIC_Aboutmui "Aboutmui.mui" : End Macro
  1298.  
  1299. ; Methods
  1300.  
  1301.  
  1302. ; Attributes
  1303.  
  1304. #MUIA_Aboutmui_Application            = $80422523 ; V11 i.. Object *
  1305.  
  1306.  
  1307.  
  1308. ;**************************************************************************
  1309. ;* Area                                                                   *
  1310. ;**************************************************************************
  1311.  
  1312. Macro MUIC_Area "Area.mui" : End Macro
  1313.  
  1314. ; Methods
  1315.  
  1316. #MUIM_AskMinMax                       = $80423874 ; Custom Class  ; V4
  1317. #MUIM_Cleanup                         = $8042d985 ; Custom Class  ; V4
  1318. #MUIM_ContextMenuBuild                = $80429d2e ; V11
  1319. #MUIM_ContextMenuChoice               = $80420f0e ; V11
  1320. #MUIM_CreateBubble                    = $80421c41 ; V18
  1321. #MUIM_CreateShortHelp                 = $80428e93 ; V11
  1322. #MUIM_DeleteBubble                    = $804211af ; V18
  1323. #MUIM_DeleteShortHelp                 = $8042d35a ; V11
  1324. #MUIM_DragBegin                       = $8042c03a ; V11
  1325. #MUIM_DragDrop                        = $8042c555 ; V11
  1326. #MUIM_DragFinish                      = $804251f0 ; V11
  1327. #MUIM_DragQuery                       = $80420261 ; V11
  1328. #MUIM_DragReport                      = $8042edad ; V11
  1329. #MUIM_Draw                            = $80426f3f ; Custom Class  ; V4
  1330. #MUIM_DrawBackground                  = $804238ca ; V11
  1331. #MUIM_HandleEvent                     = $80426d66 ; Custom Class  ; V16
  1332. #MUIM_HandleInput                     = $80422a1a ; Custom Class  ; V4
  1333. #MUIM_Hide                            = $8042f20f ; Custom Class  ; V4
  1334. #MUIM_Setup                           = $80428354 ; Custom Class  ; V4
  1335. #MUIM_Show                            = $8042cc84 ; Custom Class  ; V4
  1336. NEWTYPE.MUIP_AskMinMax             MethodID.l: *MinMaxInfo.MUI_MinMax : End NEWTYPE ; Custom Class
  1337. NEWTYPE.MUIP_Cleanup                        MethodID.l: End NEWTYPE ; Custom Class
  1338. NEWTYPE.MUIP_ContextMenuBuild      MethodID.l: mx.l:my.l : End NEWTYPE
  1339. NEWTYPE.MUIP_ContextMenuChoice     MethodID.l: *item.b : End NEWTYPE
  1340. ;/Normally .Object                                  ^
  1341. NEWTYPE.MUIP_CreateBubble          MethodID.l:x.l:y.l:*txt.b: flags.l : End NEWTYPE
  1342. NEWTYPE.MUIP_CreateShortHelp       MethodID.l: mx.l: my.l : End NEWTYPE
  1343. NEWTYPE.MUIP_DeleteBubble          MethodID.l: *bubble.b : End NEWTYPE
  1344. NEWTYPE.MUIP_DeleteShortHelp       MethodID.l: *help.b : End NEWTYPE
  1345. NEWTYPE.MUIP_DragBegin             MethodID.l: *obj.b : End NEWTYPE
  1346. ;/Normally .Object                                 ^
  1347. NEWTYPE.MUIP_DragDrop              MethodID.l: *obj.b:x.l:y.l : End NEWTYPE
  1348. ;/Normally .Object                                 ^
  1349. NEWTYPE.MUIP_DragFinish            MethodID.l: *obj.b : End NEWTYPE
  1350. ;/Normally .Object                                 ^
  1351. NEWTYPE.MUIP_DragQuery             MethodID.l: *obj.b : End NEWTYPE
  1352. ;/Normally .Object                                 ^
  1353. NEWTYPE.MUIP_DragReport            MethodID.l: *obj.b:x.l:y.l:update.l : End NEWTYPE
  1354. ;/Normally .Object                                 ^
  1355. NEWTYPE.MUIP_Draw                  MethodID.l: flags.l : End NEWTYPE ; Custom Class
  1356. NEWTYPE.MUIP_DrawBackground        MethodID.l:left.l:top.l:width.l:height.l:xoffset.l:yoffset.l:flags.l : End NEWTYPE
  1357. NEWTYPE.MUIP_HandleEvent           MethodID.l:*imsg.b:muikey.l : End NEWTYPE ; Custom Clas
  1358. ;/Normally .IntuiMessage                           ^
  1359. NEWTYPE.MUIP_HandleInput           MethodID.l:*imsg.b:muikey.l : End NEWTYPE ; Custom Clas
  1360. ;/Normally .IntuiMessage                           ^
  1361. NEWTYPE.MUIP_Hide                           MethodID.l: End NEWTYPE ; Custom Class
  1362. NEWTYPE.MUIP_Setup                 MethodID.l:*RenderInfo.MUI_RenderInfo : End NEWTYPE ; Custom Class
  1363. NEWTYPE.MUIP_Show                           MethodID.l: End NEWTYPE ; Custom Class
  1364.  
  1365. ; Attributes
  1366.  
  1367. #MUIA_Background                      = $8042545b ; V4  is. LONG
  1368. #MUIA_BottomEdge                      = $8042e552 ; V4  ..g LONG
  1369. #MUIA_ContextMenu                     = $8042b704 ; V11 isg Object *
  1370. #MUIA_ContextMenuTrigger              = $8042a2c1 ; V11 ..g Object *
  1371. #MUIA_ControlChar                     = $8042120b ; V4  isg char
  1372. #MUIA_CycleChain                      = $80421ce7 ; V11 isg LONG
  1373. #MUIA_Disabled                        = $80423661 ; V4  isg BOOL
  1374. #MUIA_Draggable                       = $80420b6e ; V11 isg BOOL
  1375. #MUIA_Dropable                        = $8042fbce ; V11 isg BOOL
  1376. CNIF #MUI_OBSOLETE=1
  1377. #MUIA_ExportID                        = $8042d76e ; V4  isg ULONG
  1378. CEND ; MUI_OBSOLETE
  1379. #MUIA_FillArea                        = $804294a3 ; V4  is. BOOL
  1380. #MUIA_FixHeight                       = $8042a92b ; V4  i.. LONG
  1381. #MUIA_FixHeightTxt                    = $804276f2 ; V4  i.. STRPTR
  1382. #MUIA_FixWidth                        = $8042a3f1 ; V4  i.. LONG
  1383. #MUIA_FixWidthTxt                     = $8042d044 ; V4  i.. STRPTR
  1384. #MUIA_Font                            = $8042be50 ; V4  i.g struct TextFont *
  1385. #MUIA_Frame                           = $8042ac64 ; V4  i.. LONG
  1386. #MUIA_FramePhantomHoriz               = $8042ed76 ; V4  i.. BOOL
  1387. #MUIA_FrameTitle                      = $8042d1c7 ; V4  i.. STRPTR
  1388. #MUIA_Height                          = $80423237 ; V4  ..g LONG
  1389. #MUIA_HorizDisappear                  = $80429615 ; V11 isg LONG
  1390. #MUIA_HorizWeight                     = $80426db9 ; V4  isg WORD
  1391. #MUIA_InnerBottom                     = $8042f2c0 ; V4  i.g LONG
  1392. #MUIA_InnerLeft                       = $804228f8 ; V4  i.g LONG
  1393. #MUIA_InnerRight                      = $804297ff ; V4  i.g LONG
  1394. #MUIA_InnerTop                        = $80421eb6 ; V4  i.g LONG
  1395. #MUIA_InputMode                       = $8042fb04 ; V4  i.. LONG
  1396. #MUIA_LeftEdge                        = $8042bec6 ; V4  ..g LONG
  1397. #MUIA_MaxHeight                       = $804293e4 ; V11 i.. LONG
  1398. #MUIA_MaxWidth                        = $8042f112 ; V11 i.. LONG
  1399. #MUIA_Pressed                         = $80423535 ; V4  ..g BOOL
  1400. #MUIA_RightEdge                       = $8042ba82 ; V4  ..g LONG
  1401. #MUIA_Selected                        = $8042654b ; V4  isg BOOL
  1402. #MUIA_ShortHelp                       = $80428fe3 ; V11 isg STRPTR
  1403. #MUIA_ShowMe                          = $80429ba8 ; V4  isg BOOL
  1404. #MUIA_ShowSelState                    = $8042caac ; V4  i.. BOOL
  1405. #MUIA_Timer                           = $80426435 ; V4  ..g LONG
  1406. #MUIA_TopEdge                         = $8042509b ; V4  ..g LONG
  1407. #MUIA_VertDisappear                   = $8042d12f ; V11 isg LONG
  1408. #MUIA_VertWeight                      = $804298d0 ; V4  isg WORD
  1409. #MUIA_Weight                          = $80421d1f ; V4  i.. WORD
  1410. #MUIA_Width                           = $8042b59c ; V4  ..g LONG
  1411. #MUIA_Window                          = $80421591 ; V4  ..g struct Window *
  1412. #MUIA_WindowObject                    = $8042669e ; V4  ..g Object *
  1413.  
  1414. #MUIV_Font_Inherit =0
  1415. #MUIV_Font_Normal =-1
  1416. #MUIV_Font_List =-2
  1417. #MUIV_Font_Tiny =-3
  1418. #MUIV_Font_Fixed =-4
  1419. #MUIV_Font_Title =-5
  1420. #MUIV_Font_Big =-6
  1421. #MUIV_Font_Button =-7
  1422. #MUIV_Frame_None =0
  1423. #MUIV_Frame_Button =1
  1424. #MUIV_Frame_ImageButton= 2
  1425. #MUIV_Frame_Text =3
  1426. #MUIV_Frame_String =4
  1427. #MUIV_Frame_ReadList= 5
  1428. #MUIV_Frame_InputList= 6
  1429. #MUIV_Frame_Prop =7
  1430. #MUIV_Frame_Gauge =8
  1431. #MUIV_Frame_Group =9
  1432. #MUIV_Frame_PopUp =10
  1433. #MUIV_Frame_Virtual= 11
  1434. #MUIV_Frame_Slider =12
  1435. #MUIV_Frame_Count =13
  1436. #MUIV_InputMode_None =0
  1437. #MUIV_InputMode_RelVerify =1
  1438. #MUIV_InputMode_Immediate =2
  1439. #MUIV_InputMode_Toggle =3
  1440.  
  1441.  
  1442. ;**************************************************************************
  1443. ;* Rectangle                                                              *
  1444. ;**************************************************************************
  1445.  
  1446. Macro MUIC_Rectangle "Rectangle.mui" : End Macro
  1447.  
  1448. ; Attributes
  1449.  
  1450. #MUIA_Rectangle_BarTitle              = $80426689 ; V11 i.g STRPTR
  1451. #MUIA_Rectangle_HBar                  = $8042c943 ; V7  i.g BOOL
  1452. #MUIA_Rectangle_VBar                  = $80422204 ; V7  i.g BOOL
  1453.  
  1454.  
  1455.  
  1456. ;**************************************************************************
  1457. ;* Balance                                                                *
  1458. ;**************************************************************************
  1459.  
  1460. Macro MUIC_Balance "Balance.mui" : End Macro
  1461.  
  1462.  
  1463. ;**************************************************************************
  1464. ;* Image                                                                  *
  1465. ;**************************************************************************
  1466.  
  1467. Macro MUIC_Image "Image.mui" : End Macro
  1468.  
  1469. ; Attributes
  1470.  
  1471. #MUIA_Image_FontMatch                 = $8042815d ; V4  i.. BOOL
  1472. #MUIA_Image_FontMatchHeight           = $80429f26 ; V4  i.. BOOL
  1473. #MUIA_Image_FontMatchWidth            = $804239bf ; V4  i.. BOOL
  1474. #MUIA_Image_FreeHoriz                 = $8042da84 ; V4  i.. BOOL
  1475. #MUIA_Image_FreeVert                  = $8042ea28 ; V4  i.. BOOL
  1476. #MUIA_Image_OldImage                  = $80424f3d ; V4  i.. struct Image *
  1477. #MUIA_Image_Spec                      = $804233d5 ; V4  i.. char *
  1478. #MUIA_Image_State                     = $8042a3ad ; V4  is. LONG
  1479.  
  1480.  
  1481.  
  1482. ;**************************************************************************
  1483. ;* Bitmap                                                                 *
  1484. ;**************************************************************************
  1485.  
  1486. Macro MUIC_Bitmap "Bitmap.mui" : End Macro
  1487.  
  1488. ; Attributes
  1489.  
  1490. #MUIA_Bitmap_Bitmap                   = $804279bd ; V8  isg struct BitMap *
  1491. #MUIA_Bitmap_Height                   = $80421560 ; V8  isg LONG
  1492. #MUIA_Bitmap_MappingTable             = $8042e23d ; V8  isg UBYTE *
  1493. #MUIA_Bitmap_Precision                = $80420c74 ; V11 isg LONG
  1494. #MUIA_Bitmap_RemappedBitmap           = $80423a47 ; V11 ..g struct BitMap *
  1495. #MUIA_Bitmap_SourceColors             = $80425360 ; V8  isg ULONG *
  1496. #MUIA_Bitmap_Transparent              = $80422805 ; V8  isg LONG
  1497. #MUIA_Bitmap_UseFriend                = $804239d8 ; V11 i.. BOOL
  1498. #MUIA_Bitmap_Width                    = $8042eb3a ; V8  isg LONG
  1499.  
  1500.  
  1501.  
  1502. ;**************************************************************************
  1503. ;* Bodychunk                                                              *
  1504. ;**************************************************************************
  1505.  
  1506. Macro MUIC_Bodychunk "Bodychunk.mui" : End Macro
  1507.  
  1508. ; Attributes
  1509.  
  1510. #MUIA_Bodychunk_Body                  = $8042ca67 ; V8  isg UBYTE *
  1511. #MUIA_Bodychunk_Compression           = $8042de5f ; V8  isg UBYTE
  1512. #MUIA_Bodychunk_Depth                 = $8042c392 ; V8  isg LONG
  1513. #MUIA_Bodychunk_Masking               = $80423b0e ; V8  isg UBYTE
  1514.  
  1515.  
  1516.  
  1517. ;**************************************************************************
  1518. ;* Text                                                                   *
  1519. ;**************************************************************************
  1520.  
  1521. Macro MUIC_Text "Text.mui" : End Macro
  1522.  
  1523. ; Attributes
  1524.  
  1525. #MUIA_Text_Contents                   = $8042f8Dc ; V4  isg STRPTR
  1526. #MUIA_Text_HiChar                     = $804218ff ; V4  i.. char
  1527. #MUIA_Text_PreParse                   = $8042566d ; V4  isg STRPTR
  1528. #MUIA_Text_SetMax                     = $80424d0a ; V4  i.. BOOL
  1529. #MUIA_Text_SetMin                     = $80424e10 ; V4  i.. BOOL
  1530. #MUIA_Text_SetVMax                    = $80420d8b ; V11 i.. BOOL
  1531.  
  1532.  
  1533.  
  1534. ;**************************************************************************
  1535. ;* Gadget                                                                 *
  1536. ;**************************************************************************
  1537.  
  1538. Macro MUIC_Gadget "Gadget.mui" : End Macro
  1539.  
  1540. ; Attributes
  1541.  
  1542. #MUIA_Gadget_Gadget                   = $8042ec1a ; V11 ..g struct Gadget *
  1543.  
  1544.  
  1545.  
  1546. ;**************************************************************************
  1547. ;* String                                                                 *
  1548. ;**************************************************************************
  1549.  
  1550. Macro MUIC_String "String.mui" : End Macro
  1551.  
  1552. ; Methods
  1553.  
  1554.  
  1555. ; Attributes
  1556.  
  1557. #MUIA_String_Accept                   = $8042e3e1 ; V4  isg STRPTR
  1558. #MUIA_String_Acknowledge              = $8042026c ; V4  ..g STRPTR
  1559. #MUIA_String_AdvanceOnCR              = $804226de ; V11 isg BOOL
  1560. #MUIA_String_AttachedList             = $80420fd2 ; V4  isg Object *
  1561. #MUIA_String_BufferPos                = $80428b6c ; V4  .sg LONG
  1562. #MUIA_String_Contents                 = $80428ffd ; V4  isg STRPTR
  1563. #MUIA_String_DisplayPos               = $8042ccbf ; V4  .sg LONG
  1564. #MUIA_String_EditHook                 = $80424c33 ; V7  isg struct Hook *
  1565. #MUIA_String_Format                   = $80427484 ; V4  i.g LONG
  1566. #MUIA_String_Integer                  = $80426e8a ; V4  isg ULONG
  1567. #MUIA_String_LonelyEditHook           = $80421569 ; V11 isg BOOL
  1568. #MUIA_String_MaxLen                   = $80424984 ; V4  i.g LONG
  1569. #MUIA_String_Reject                   = $8042179c ; V4  isg STRPTR
  1570. #MUIA_String_Secret                   = $80428769 ; V4  i.g BOOL
  1571.  
  1572. #MUIV_String_Format_Left =0
  1573. #MUIV_String_Format_Center =1
  1574. #MUIV_String_Format_Right =2
  1575.  
  1576.  
  1577. ;**************************************************************************
  1578. ;* Boopsi                                                                 *
  1579. ;**************************************************************************
  1580.  
  1581. Macro MUIC_Boopsi "Boopsi.mui" : End Macro
  1582.  
  1583. ; Attributes
  1584.  
  1585. #MUIA_Boopsi_Class                    = $80426999 ; V4  isg struct IClass *
  1586. #MUIA_Boopsi_ClassID                  = $8042bfa3 ; V4  isg char *
  1587. #MUIA_Boopsi_MaxHeight                = $8042757f ; V4  isg ULONG
  1588. #MUIA_Boopsi_MaxWidth                 = $8042bcb1 ; V4  isg ULONG
  1589. #MUIA_Boopsi_MinHeight                = $80422c93 ; V4  isg ULONG
  1590. #MUIA_Boopsi_MinWidth                 = $80428fb2 ; V4  isg ULONG
  1591. #MUIA_Boopsi_Object                   = $80420178 ; V4  ..g Object *
  1592. #MUIA_Boopsi_Remember                 = $8042f4bd ; V4  i.. ULONG
  1593. #MUIA_Boopsi_Smart                    = $8042b8d7 ; V9  i.. BOOL
  1594. #MUIA_Boopsi_TagDrawInfo              = $8042bae7 ; V4  isg ULONG
  1595. #MUIA_Boopsi_TagScreen                = $8042bc71 ; V4  isg ULONG
  1596. #MUIA_Boopsi_TagWindow                = $8042e11d ; V4  isg ULONG
  1597.  
  1598.  
  1599.  
  1600. ;**************************************************************************
  1601. ;* Prop                                                                   *
  1602. ;**************************************************************************
  1603.  
  1604. Macro MUIC_Prop "Prop.mui" : End Macro
  1605.  
  1606. ; Methods
  1607.  
  1608. #MUIM_Prop_Decrease                   = $80420dd1 ; V16
  1609. #MUIM_Prop_Increase                   = $8042cac0 ; V16
  1610. NEWTYPE.MUIP_Prop_Decrease         MethodID.l:amount.l : End NEWTYPE
  1611. NEWTYPE.MUIP_Prop_Increase         MethodID.l:amount.l : End NEWTYPE
  1612.  
  1613. ; Attributes
  1614.  
  1615. #MUIA_Prop_Entries                    = $8042fbdb ; V4  isg LONG
  1616. #MUIA_Prop_First                      = $8042d4b2 ; V4  isg LONG
  1617. #MUIA_Prop_Horiz                      = $8042f4f3 ; V4  i.g BOOL
  1618. #MUIA_Prop_Slider                     = $80429c3a ; V4  isg BOOL
  1619. #MUIA_Prop_UseWinBorder               = $8042deee ; V13 i.. LONG
  1620. #MUIA_Prop_Visible                    = $8042fea6 ; V4  isg LONG
  1621.  
  1622. #MUIV_Prop_UseWinBorder_None =0
  1623. #MUIV_Prop_UseWinBorder_Left =1
  1624. #MUIV_Prop_UseWinBorder_Right= 2
  1625. #MUIV_Prop_UseWinBorder_Bottom= 3
  1626.  
  1627.  
  1628. ;**************************************************************************
  1629. ;* Gauge                                                                  *
  1630. ;**************************************************************************
  1631.  
  1632. Macro MUIC_Gauge "Gauge.mui" : End Macro
  1633.  
  1634. ; Attributes
  1635.  
  1636. #MUIA_Gauge_Current                   = $8042f0dd ; V4  isg LONG
  1637. #MUIA_Gauge_Divide                    = $8042d8df ; V4  isg BOOL
  1638. #MUIA_Gauge_Horiz                     = $804232dd ; V4  i.. BOOL
  1639. #MUIA_Gauge_InfoText                  = $8042bf15 ; V7  isg STRPTR
  1640. #MUIA_Gauge_Max                       = $8042bcdb ; V4  isg LONG
  1641.  
  1642.  
  1643.  
  1644. ;**************************************************************************
  1645. ;* Scale                                                                  *
  1646. ;**************************************************************************
  1647.  
  1648. Macro MUIC_Scale "Scale.mui" : End Macro
  1649.  
  1650. ; Attributes
  1651.  
  1652. #MUIA_Scale_Horiz                     = $8042919a ; V4  isg BOOL
  1653.  
  1654.  
  1655.  
  1656. ;**************************************************************************
  1657. ;* Colorfield                                                             *
  1658. ;**************************************************************************
  1659.  
  1660. Macro MUIC_Colorfield "Colorfield.mui" : End Macro
  1661.  
  1662. ; Attributes
  1663.  
  1664. #MUIA_Colorfield_Blue                 = $8042d3b0 ; V4  isg ULONG
  1665. #MUIA_Colorfield_Green                = $80424466 ; V4  isg ULONG
  1666. #MUIA_Colorfield_Pen                  = $8042713a ; V4  ..g ULONG
  1667. #MUIA_Colorfield_Red                  = $804279f6 ; V4  isg ULONG
  1668. #MUIA_Colorfield_RGB                  = $8042677a ; V4  isg ULONG *
  1669.  
  1670.  
  1671.  
  1672. ;**************************************************************************
  1673. ;* List                                                                   *
  1674. ;**************************************************************************
  1675.  
  1676. Macro MUIC_List "List.mui" : End Macro
  1677.  
  1678. ; Methods
  1679.  
  1680. #MUIM_List_Clear                      = $8042ad89 ; V4
  1681. #MUIM_List_CreateImage                = $80429804 ; V11
  1682. #MUIM_List_DeleteImage                = $80420f58 ; V11
  1683. #MUIM_List_Exchange                   = $8042468c ; V4
  1684. #MUIM_List_GetEntry                   = $804280ec ; V4
  1685. #MUIM_List_Insert                     = $80426c87 ; V4
  1686. #MUIM_List_InsertSingle               = $804254d5 ; V7
  1687. #MUIM_List_Jump                       = $8042baab ; V4
  1688. #MUIM_List_Move                       = $804253c2 ; V9
  1689. #MUIM_List_NextSelected               = $80425f17 ; V6
  1690. #MUIM_List_Redraw                     = $80427993 ; V4
  1691. #MUIM_List_Remove                     = $8042647e ; V4
  1692. #MUIM_List_Select                     = $804252d8 ; V4
  1693. #MUIM_List_Sort                       = $80422275 ; V4
  1694. #MUIM_List_TestPos                    = $80425f48 ; V11
  1695. NEWTYPE.MUIP_List_Clear                     MethodID.l: End NEWTYPE
  1696. NEWTYPE.MUIP_List_CreateImage      MethodID.l: *obj.b:flags.l : End NEWTYPE
  1697. ;/Normally .Object                                 ^
  1698. NEWTYPE.MUIP_List_DeleteImage      MethodID.l:*listimg.b : End NEWTYPE
  1699. NEWTYPE.MUIP_List_Exchange         MethodID.l:pos1.l:pos2.l : End NEWTYPE
  1700. NEWTYPE.MUIP_List_GetEntry         MethodID.l:pos.l:*entry.b : End NEWTYPE
  1701. NEWTYPE.MUIP_List_Insert           MethodID.l:*entries.b:count.l:pos.l : End NEWTYPE
  1702. NEWTYPE.MUIP_List_InsertSingle     MethodID.l:*entry.b:pos.l : End NEWTYPE
  1703. NEWTYPE.MUIP_List_Jump             MethodID.l:pos.l : End NEWTYPE
  1704. NEWTYPE.MUIP_List_Move             MethodID.l:from.l:_to.l : End NEWTYPE
  1705. ;/Normally to (no _)                                 ^
  1706. NEWTYPE.MUIP_List_NextSelected     MethodID.l:*pos.l : End NEWTYPE
  1707. NEWTYPE.MUIP_List_Redraw           MethodID.l:pos.l : End NEWTYPE
  1708. NEWTYPE.MUIP_List_Remove           MethodID.l:pos.l : End NEWTYPE
  1709. NEWTYPE.MUIP_List_Select           MethodID.l:pos.l:seltype.l:*state.l : End NEWTYPE
  1710. NEWTYPE.MUIP_List_Sort                      MethodID.l: End NEWTYPE
  1711. NEWTYPE.MUIP_List_TestPos          MethodID.l:x.l:y.l:*res.MUI_List_TestPos_Result : End NEWTYPE
  1712.  
  1713. ; Attributes
  1714.  
  1715. #MUIA_List_Active                     = $8042391c ; V4  isg LONG
  1716. #MUIA_List_AdjustHeight               = $8042850d ; V4  i.. BOOL
  1717. #MUIA_List_AdjustWidth                = $8042354a ; V4  i.. BOOL
  1718. #MUIA_List_AutoVisible                = $8042a445 ; V11 isg BOOL
  1719. #MUIA_List_CompareHook                = $80425c14 ; V4  is. struct Hook *
  1720. #MUIA_List_ConstructHook              = $8042894f ; V4  is. struct Hook *
  1721. #MUIA_List_DestructHook               = $804297ce ; V4  is. struct Hook *
  1722. #MUIA_List_DisplayHook                = $8042b4d5 ; V4  is. struct Hook *
  1723. #MUIA_List_DragSortable               = $80426099 ; V11 isg BOOL
  1724. #MUIA_List_DropMark                   = $8042aba6 ; V11 ..g LONG
  1725. #MUIA_List_Entries                    = $80421654 ; V4  ..g LONG
  1726. #MUIA_List_First                      = $804238d4 ; V4  ..g LONG
  1727. #MUIA_List_Format                     = $80423c0a ; V4  isg STRPTR
  1728. #MUIA_List_InsertPosition             = $8042d0cd ; V9  ..g LONG
  1729. #MUIA_List_MinLineHeight              = $8042d1c3 ; V4  i.. LONG
  1730. #MUIA_List_MultiTestHook              = $8042c2c6 ; V4  is. struct Hook *
  1731. #MUIA_List_Pool                       = $80423431 ; V13 i.. APTR
  1732. #MUIA_List_PoolPuddleSize             = $8042a4eb ; V13 i.. ULONG
  1733. #MUIA_List_PoolThreshSize             = $8042c48c ; V13 i.. ULONG
  1734. #MUIA_List_Quiet                      = $8042d8c7 ; V4  .s. BOOL
  1735. #MUIA_List_ShowDropMarks              = $8042c6f3 ; V11 isg BOOL
  1736. #MUIA_List_SourceArray                = $8042c0a0 ; V4  i.. APTR
  1737. #MUIA_List_Title                      = $80423e66 ; V6  isg char *
  1738. #MUIA_List_Visible                    = $8042191f ; V4  ..g LONG
  1739.  
  1740. #MUIV_List_Active_Off =-1
  1741. #MUIV_List_Active_Top =-2
  1742. #MUIV_List_Active_Bottom =-3
  1743. #MUIV_List_Active_Up =-4
  1744. #MUIV_List_Active_Down =-5
  1745. #MUIV_List_Active_PageUp =-6
  1746. #MUIV_List_Active_PageDown =-7
  1747. #MUIV_List_ConstructHook_String =-1
  1748. #MUIV_List_CopyHook_String =-1
  1749. #MUIV_List_CursorType_None =0
  1750. #MUIV_List_CursorType_Bar =1
  1751. #MUIV_List_CursorType_Rect =2
  1752. #MUIV_List_DestructHook_String =-1
  1753.  
  1754.  
  1755. ;**************************************************************************
  1756. ;* Floattext                                                              *
  1757. ;**************************************************************************
  1758.  
  1759. Macro MUIC_Floattext "Floattext.mui" : End Macro
  1760.  
  1761. ; Attributes
  1762.  
  1763. #MUIA_Floattext_Justify               = $8042Dc03 ; V4  isg BOOL
  1764. #MUIA_Floattext_SkipChars             = $80425c7d ; V4  is. STRPTR
  1765. #MUIA_Floattext_TabSize               = $80427d17 ; V4  is. LONG
  1766. #MUIA_Floattext_Text                  = $8042d16a ; V4  isg STRPTR
  1767.  
  1768.  
  1769.  
  1770. ;**************************************************************************
  1771. ;* Volumelist                                                             *
  1772. ;**************************************************************************
  1773.  
  1774. Macro MUIC_Volumelist "Volumelist.mui" : End Macro
  1775.  
  1776.  
  1777. ;**************************************************************************
  1778. ;* Scrmodelist                                                            *
  1779. ;**************************************************************************
  1780.  
  1781. Macro MUIC_Scrmodelist "Scrmodelist.mui" : End Macro
  1782.  
  1783. ; Attributes
  1784.  
  1785.  
  1786.  
  1787.  
  1788. ;**************************************************************************
  1789. ;* Dirlist                                                                *
  1790. ;**************************************************************************
  1791.  
  1792. Macro MUIC_Dirlist "Dirlist.mui" : End Macro
  1793.  
  1794. ; Methods
  1795.  
  1796. #MUIM_Dirlist_ReRead                  = $80422d71 ; V4
  1797. NEWTYPE.MUIP_Dirlist_ReRead                 MethodID.l: End NEWTYPE
  1798.  
  1799. ; Attributes
  1800.  
  1801. #MUIA_Dirlist_AcceptPattern           = $8042760a ; V4  is. STRPTR
  1802. #MUIA_Dirlist_Directory               = $8042ea41 ; V4  isg STRPTR
  1803. #MUIA_Dirlist_DrawersOnly             = $8042b379 ; V4  is. BOOL
  1804. #MUIA_Dirlist_FilesOnly               = $8042896a ; V4  is. BOOL
  1805. #MUIA_Dirlist_FilterDrawers           = $80424ad2 ; V4  is. BOOL
  1806. #MUIA_Dirlist_FilterHook              = $8042ae19 ; V4  is. struct Hook *
  1807. #MUIA_Dirlist_MultiSelDirs            = $80428653 ; V6  is. BOOL
  1808. #MUIA_Dirlist_NumBytes                = $80429e26 ; V4  ..g LONG
  1809. #MUIA_Dirlist_NumDrawers              = $80429cb8 ; V4  ..g LONG
  1810. #MUIA_Dirlist_NumFiles                = $8042a6f0 ; V4  ..g LONG
  1811. #MUIA_Dirlist_Path                    = $80426176 ; V4  ..g STRPTR
  1812. #MUIA_Dirlist_RejectIcons             = $80424808 ; V4  is. BOOL
  1813. #MUIA_Dirlist_RejectPattern           = $804259c7 ; V4  is. STRPTR
  1814. #MUIA_Dirlist_SortDirs                = $8042bbb9 ; V4  is. LONG
  1815. #MUIA_Dirlist_SortHighLow             = $80421896 ; V4  is. BOOL
  1816. #MUIA_Dirlist_SortType                = $804228bc ; V4  is. LONG
  1817. #MUIA_Dirlist_Status                  = $804240de ; V4  ..g LONG
  1818.  
  1819. #MUIV_Dirlist_SortDirs_First =0
  1820. #MUIV_Dirlist_SortDirs_Last =1
  1821. #MUIV_Dirlist_SortDirs_Mix =2
  1822. #MUIV_Dirlist_SortType_Name =0
  1823. #MUIV_Dirlist_SortType_Date =1
  1824. #MUIV_Dirlist_SortType_Size =2
  1825. #MUIV_Dirlist_Status_Invalid =0
  1826. #MUIV_Dirlist_Status_Reading =1
  1827. #MUIV_Dirlist_Status_Valid =2
  1828.  
  1829.  
  1830. ;**************************************************************************
  1831. ;* Numeric                                                                *
  1832. ;**************************************************************************
  1833.  
  1834. Macro MUIC_Numeric "Numeric.mui" : End Macro
  1835.  
  1836. ; Methods
  1837.  
  1838. #MUIM_Numeric_Decrease                = $804243a7 ; V11
  1839. #MUIM_Numeric_Increase                = $80426ecd ; V11
  1840. #MUIM_Numeric_ScaleToValue            = $8042032c ; V11
  1841. #MUIM_Numeric_SetDefault              = $8042ab0a ; V11
  1842. #MUIM_Numeric_Stringify               = $80424891 ; V11
  1843. #MUIM_Numeric_ValueToScale            = $80423e4f ; V11
  1844. NEWTYPE.MUIP_Numeric_Decrease      MethodID.l:amount.l : End NEWTYPE
  1845. NEWTYPE.MUIP_Numeric_Increase      MethodID.l:amount.l : End NEWTYPE
  1846. NEWTYPE.MUIP_Numeric_ScaleToValue  MethodID.l:scalemin.l:scalemax.l:_scale.l : End NEWTYPE
  1847. ;/Normally scale (no _)                                             ^
  1848. NEWTYPE.MUIP_Numeric_SetDefault             MethodID.l: End NEWTYPE
  1849. NEWTYPE.MUIP_Numeric_Stringify     MethodID.l:value.l : End NEWTYPE
  1850. NEWTYPE.MUIP_Numeric_ValueToScale  MethodID.l:scalemin.l:scalemax.l : End NEWTYPE
  1851.  
  1852. ; Attributes
  1853.  
  1854. #MUIA_Numeric_CheckAllSizes           = $80421594 ; V11 isg BOOL
  1855. #MUIA_Numeric_Default                 = $804263e8 ; V11 isg LONG
  1856. #MUIA_Numeric_Format                  = $804263e9 ; V11 isg STRPTR
  1857. #MUIA_Numeric_Max                     = $8042d78a ; V11 isg LONG
  1858. #MUIA_Numeric_Min                     = $8042e404 ; V11 isg LONG
  1859. #MUIA_Numeric_Reverse                 = $8042f2a0 ; V11 isg BOOL
  1860. #MUIA_Numeric_RevLeftRight            = $804294a7 ; V11 isg BOOL
  1861. #MUIA_Numeric_RevUpDown               = $804252dd ; V11 isg BOOL
  1862. #MUIA_Numeric_Value                   = $8042ae3a ; V11 isg LONG
  1863.  
  1864.  
  1865.  
  1866. ;**************************************************************************
  1867. ;* Knob                                                                   *
  1868. ;**************************************************************************
  1869.  
  1870. Macro MUIC_Knob "Knob.mui" : End Macro
  1871.  
  1872.  
  1873. ;**************************************************************************
  1874. ;* Levelmeter                                                             *
  1875. ;**************************************************************************
  1876.  
  1877. Macro MUIC_Levelmeter "Levelmeter.mui" : End Macro
  1878.  
  1879. ; Attributes
  1880.  
  1881. #MUIA_Levelmeter_Label                = $80420dd5 ; V11 isg STRPTR
  1882.  
  1883.  
  1884.  
  1885. ;**************************************************************************
  1886. ;* Numericbutton                                                          *
  1887. ;**************************************************************************
  1888.  
  1889. Macro MUIC_Numericbutton "Numericbutton.mui" : End Macro
  1890.  
  1891.  
  1892. ;**************************************************************************
  1893. ;* Slider                                                                 *
  1894. ;**************************************************************************
  1895.  
  1896. Macro MUIC_Slider "Slider.mui" : End Macro
  1897.  
  1898. ; Attributes
  1899.  
  1900. #MUIA_Slider_Horiz                    = $8042fad1 ; V11 isg BOOL
  1901. CNIF #MUI_OBSOLETE=1
  1902. #MUIA_Slider_Level                    = $8042ae3a ; V4  isg LONG
  1903. CEND ; MUI_OBSOLETE
  1904. CNIF #MUI_OBSOLETE=1
  1905. #MUIA_Slider_Max                      = $8042d78a ; V4  isg LONG
  1906. CEND ; MUI_OBSOLETE
  1907. CNIF #MUI_OBSOLETE=1
  1908. #MUIA_Slider_Min                      = $8042e404 ; V4  isg LONG
  1909. CEND ; MUI_OBSOLETE
  1910. #MUIA_Slider_Quiet                    = $80420b26 ; V6  i.. BOOL
  1911. CNIF #MUI_OBSOLETE=1
  1912. #MUIA_Slider_Reverse                  = $8042f2a0 ; V4  isg BOOL
  1913. CEND ; MUI_OBSOLETE
  1914.  
  1915.  
  1916.  
  1917. ;**************************************************************************
  1918. ;* Framedisplay                                                           *
  1919. ;**************************************************************************
  1920.  
  1921. Macro MUIC_Framedisplay "Framedisplay.mui" : End Macro
  1922.  
  1923. ; Attributes
  1924.  
  1925.  
  1926.  
  1927.  
  1928. ;**************************************************************************
  1929. ;* Popframe                                                               *
  1930. ;**************************************************************************
  1931.  
  1932. Macro MUIC_Popframe "Popframe.mui" : End Macro
  1933.  
  1934.  
  1935. ;**************************************************************************
  1936. ;* Imagedisplay                                                           *
  1937. ;**************************************************************************
  1938.  
  1939. Macro MUIC_Imagedisplay "Imagedisplay.mui" : End Macro
  1940.  
  1941. ; Attributes
  1942.  
  1943.  
  1944.  
  1945.  
  1946. ;**************************************************************************
  1947. ;* Popimage                                                               *
  1948. ;**************************************************************************
  1949.  
  1950. Macro MUIC_Popimage "Popimage.mui" : End Macro
  1951.  
  1952.  
  1953. ;**************************************************************************
  1954. ;* Pendisplay                                                             *
  1955. ;**************************************************************************
  1956.  
  1957. Macro MUIC_Pendisplay "Pendisplay.mui" : End Macro
  1958.  
  1959. ; Methods
  1960.  
  1961. #MUIM_Pendisplay_SetColormap          = $80426c80 ; V13
  1962. #MUIM_Pendisplay_SetMUIPen            = $8042039d ; V13
  1963. #MUIM_Pendisplay_SetRGB               = $8042c131 ; V13
  1964. NEWTYPE.MUIP_Pendisplay_SetColormap         MethodID.l:colormap.l : End NEWTYPE
  1965. NEWTYPE.MUIP_Pendisplay_SetMUIPen  MethodID.l:muipen.l : End NEWTYPE
  1966. NEWTYPE.MUIP_Pendisplay_SetRGB     MethodID.l:_red.l:_green.l:_blue.l : End NEWTYPE
  1967. ;/Normally red, green and blue (no _)         ^      ^        ^
  1968.  
  1969. ; Attributes
  1970.  
  1971. #MUIA_Pendisplay_Pen                  = $8042a748 ; V13 ..g Object *
  1972. #MUIA_Pendisplay_Reference            = $8042Dc24 ; V13 isg Object *
  1973. #MUIA_Pendisplay_RGBcolor             = $8042a1a9 ; V11 isg struct MUI_RGBcolor *
  1974. #MUIA_Pendisplay_Spec                 = $8042a204 ; V11 isg struct MUI_PenSpec  *
  1975.  
  1976.  
  1977.  
  1978. ;**************************************************************************
  1979. ;* Poppen                                                                 *
  1980. ;**************************************************************************
  1981.  
  1982. Macro MUIC_Poppen "Poppen.mui" : End Macro
  1983.  
  1984.  
  1985. ;**************************************************************************
  1986. ;* Group                                                                  *
  1987. ;**************************************************************************
  1988.  
  1989. Macro MUIC_Group "Group.mui" : End Macro
  1990.  
  1991. ; Methods
  1992.  
  1993. #MUIM_Group_ExitChange                = $8042d1cc ; V11
  1994. #MUIM_Group_InitChange                = $80420887 ; V11
  1995. #MUIM_Group_Sort                      = $80427417 ; V4
  1996. NEWTYPE.MUIP_Group_ExitChange               MethodID.l: End NEWTYPE
  1997. NEWTYPE.MUIP_Group_InitChange               MethodID.l: End NEWTYPE
  1998. NEWTYPE.MUIP_Group_Sort            MethodID.l: *obj.b[1] : End NEWTYPE
  1999. ;/Normally .Object                                 ^
  2000.  
  2001. ; Attributes
  2002.  
  2003. #MUIA_Group_ActivePage                = $80424199 ; V5  isg LONG
  2004. #MUIA_Group_Child                     = $804226e6 ; V4  i.. Object *
  2005. #MUIA_Group_ChildList                 = $80424748 ; V4  ..g struct List *
  2006. #MUIA_Group_Columns                   = $8042f416 ; V4  is. LONG
  2007. #MUIA_Group_Horiz                     = $8042536b ; V4  i.. BOOL
  2008. #MUIA_Group_HorizSpacing              = $8042c651 ; V4  isg LONG
  2009. #MUIA_Group_LayoutHook                = $8042c3b2 ; V11 i.. struct Hook *
  2010. #MUIA_Group_PageMode                  = $80421a5f ; V5  i.. BOOL
  2011. #MUIA_Group_Rows                      = $8042b68f ; V4  is. LONG
  2012. #MUIA_Group_SameHeight                = $8042037e ; V4  i.. BOOL
  2013. #MUIA_Group_SameSize                  = $80420860 ; V4  i.. BOOL
  2014. #MUIA_Group_SameWidth                 = $8042b3ec ; V4  i.. BOOL
  2015. #MUIA_Group_Spacing                   = $8042866d ; V4  is. LONG
  2016. #MUIA_Group_VertSpacing               = $8042e1bf ; V4  isg LONG
  2017.  
  2018. #MUIV_Group_ActivePage_First =0
  2019. #MUIV_Group_ActivePage_Last =-1
  2020. #MUIV_Group_ActivePage_Prev =-2
  2021. #MUIV_Group_ActivePage_Next =-3
  2022. #MUIV_Group_ActivePage_Advance =-4
  2023.  
  2024.  
  2025. ;**************************************************************************
  2026. ;* Mccprefs                                                               *
  2027. ;**************************************************************************
  2028.  
  2029. Macro MUIC_Mccprefs "Mccprefs.mui" : End Macro
  2030.  
  2031.  
  2032. ;**************************************************************************
  2033. ;* Register                                                               *
  2034. ;**************************************************************************
  2035.  
  2036. Macro MUIC_Register "Register.mui" : End Macro
  2037.  
  2038. ; Attributes
  2039.  
  2040. #MUIA_Register_Frame                  = $8042349b ; V7  i.g BOOL
  2041. #MUIA_Register_Titles                 = $804297ec ; V7  i.g STRPTR *
  2042.  
  2043.  
  2044.  
  2045. ;**************************************************************************
  2046. ;* Penadjust                                                              *
  2047. ;**************************************************************************
  2048.  
  2049. Macro MUIC_Penadjust "Penadjust.mui" : End Macro
  2050.  
  2051. ; Methods
  2052.  
  2053.  
  2054. ; Attributes
  2055.  
  2056. #MUIA_Penadjust_PSIMode               = $80421cbb ; V11 i.. BOOL
  2057.  
  2058.  
  2059.  
  2060. ;**************************************************************************
  2061. ;* Settingsgroup                                                          *
  2062. ;**************************************************************************
  2063.  
  2064. Macro MUIC_Settingsgroup "Settingsgroup.mui" : End Macro
  2065.  
  2066. ; Methods
  2067.  
  2068. #MUIM_Settingsgroup_ConfigToGadgets   = $80427043 ; V11
  2069. #MUIM_Settingsgroup_GadgetsToConfig   = $80425242 ; V11
  2070. NEWTYPE.MUIP_Settingsgroup_ConfigToGadgets  MethodID.l:*configdata.b : End NEWTYPE
  2071. ;/Normally .Object                                                ^
  2072. NEWTYPE.MUIP_Settingsgroup_GadgetsToConfig  MethodID.l:*configdata.b : End NEWTYPE
  2073. ;/Normally .Object                                                ^
  2074.  
  2075. ; Attributes
  2076.  
  2077.  
  2078.  
  2079.  
  2080. ;**************************************************************************
  2081. ;* Settings                                                               *
  2082. ;**************************************************************************
  2083.  
  2084. Macro MUIC_Settings "Settings.mui" : End Macro
  2085.  
  2086. ; Methods
  2087.  
  2088.  
  2089. ; Attributes
  2090.  
  2091.  
  2092.  
  2093.  
  2094. ;**************************************************************************
  2095. ;* Frameadjust                                                            *
  2096. ;**************************************************************************
  2097.  
  2098. Macro MUIC_Frameadjust "Frameadjust.mui" : End Macro
  2099.  
  2100. ; Methods
  2101.  
  2102.  
  2103. ; Attributes
  2104.  
  2105.  
  2106.  
  2107.  
  2108. ;**************************************************************************
  2109. ;* Imageadjust                                                            *
  2110. ;**************************************************************************
  2111.  
  2112. Macro MUIC_Imageadjust "Imageadjust.mui" : End Macro
  2113.  
  2114. ; Methods
  2115.  
  2116.  
  2117. ; Attributes
  2118.  
  2119.  
  2120. #MUIV_Imageadjust_Type_All =0
  2121. #MUIV_Imageadjust_Type_Image =1
  2122. #MUIV_Imageadjust_Type_Background =2
  2123. #MUIV_Imageadjust_Type_Pen =3
  2124.  
  2125.  
  2126. ;**************************************************************************
  2127. ;* Virtgroup                                                              *
  2128. ;**************************************************************************
  2129.  
  2130. Macro MUIC_Virtgroup "Virtgroup.mui" : End Macro
  2131.  
  2132. ; Methods
  2133.  
  2134.  
  2135. ; Attributes
  2136.  
  2137. #MUIA_Virtgroup_Height                = $80423038 ; V6  ..g LONG
  2138. #MUIA_Virtgroup_Input                 = $80427f7e ; V11 i.. BOOL
  2139. #MUIA_Virtgroup_Left                  = $80429371 ; V6  isg LONG
  2140. #MUIA_Virtgroup_Top                   = $80425200 ; V6  isg LONG
  2141. #MUIA_Virtgroup_Width                 = $80427c49 ; V6  ..g LONG
  2142.  
  2143.  
  2144.  
  2145. ;**************************************************************************
  2146. ;* Scrollgroup                                                            *
  2147. ;**************************************************************************
  2148.  
  2149. Macro MUIC_Scrollgroup "Scrollgroup.mui" : End Macro
  2150.  
  2151. ; Methods
  2152.  
  2153.  
  2154. ; Attributes
  2155.  
  2156. #MUIA_Scrollgroup_Contents            = $80421261 ; V4  i.g Object *
  2157. #MUIA_Scrollgroup_FreeHoriz           = $804292f3 ; V9  i.. BOOL
  2158. #MUIA_Scrollgroup_FreeVert            = $804224f2 ; V9  i.. BOOL
  2159. #MUIA_Scrollgroup_HorizBar            = $8042b63d ; V16 ..g Object *
  2160. #MUIA_Scrollgroup_UseWinBorder        = $804284c1 ; V13 i.. BOOL
  2161. #MUIA_Scrollgroup_VertBar             = $8042cdc0 ; V16 ..g Object *
  2162.  
  2163.  
  2164.  
  2165. ;**************************************************************************
  2166. ;* Scrollbar                                                              *
  2167. ;**************************************************************************
  2168.  
  2169. Macro MUIC_Scrollbar "Scrollbar.mui" : End Macro
  2170.  
  2171. ; Attributes
  2172.  
  2173. #MUIA_Scrollbar_Type                  = $8042fb6b ; V11 i.. LONG
  2174.  
  2175. #MUIV_Scrollbar_Type_Default =0
  2176. #MUIV_Scrollbar_Type_Bottom =1
  2177. #MUIV_Scrollbar_Type_Top =2
  2178. #MUIV_Scrollbar_Type_Sym =3
  2179.  
  2180.  
  2181. ;**************************************************************************
  2182. ;* Listview                                                               *
  2183. ;**************************************************************************
  2184.  
  2185. Macro MUIC_Listview "Listview.mui" : End Macro
  2186.  
  2187. ; Attributes
  2188.  
  2189. #MUIA_Listview_ClickColumn            = $8042d1b3 ; V7  ..g LONG
  2190. #MUIA_Listview_DefClickColumn         = $8042b296 ; V7  isg LONG
  2191. #MUIA_Listview_DoubleClick            = $80424635 ; V4  i.g BOOL
  2192. #MUIA_Listview_DragType               = $80425cd3 ; V11 isg LONG
  2193. #MUIA_Listview_Input                  = $8042682d ; V4  i.. BOOL
  2194. #MUIA_Listview_List                   = $8042bcce ; V4  i.g Object *
  2195. #MUIA_Listview_MultiSelect            = $80427e08 ; V7  i.. LONG
  2196. #MUIA_Listview_ScrollerPos            = $8042b1b4 ; V10 i.. BOOL
  2197. #MUIA_Listview_SelectChange           = $8042178f ; V4  ..g BOOL
  2198.  
  2199. #MUIV_Listview_DragType_None =0
  2200. #MUIV_Listview_DragType_Immediate =1
  2201. #MUIV_Listview_MultiSelect_None =0
  2202. #MUIV_Listview_MultiSelect_Default =1
  2203. #MUIV_Listview_MultiSelect_Shifted =2
  2204. #MUIV_Listview_MultiSelect_Always =3
  2205. #MUIV_Listview_ScrollerPos_Default =0
  2206. #MUIV_Listview_ScrollerPos_Left =1
  2207. #MUIV_Listview_ScrollerPos_Right =2
  2208. #MUIV_Listview_ScrollerPos_None =3
  2209.  
  2210.  
  2211. ;**************************************************************************
  2212. ;* Radio                                                                  *
  2213. ;**************************************************************************
  2214.  
  2215. Macro MUIC_Radio "Radio.mui" : End Macro
  2216.  
  2217. ; Attributes
  2218.  
  2219. #MUIA_Radio_Active                    = $80429b41 ; V4  isg LONG
  2220. #MUIA_Radio_Entries                   = $8042b6a1 ; V4  i.. STRPTR *
  2221.  
  2222.  
  2223.  
  2224. ;**************************************************************************
  2225. ;* Cycle                                                                  *
  2226. ;**************************************************************************
  2227.  
  2228. Macro MUIC_Cycle "Cycle.mui" : End Macro
  2229.  
  2230. ; Attributes
  2231.  
  2232. #MUIA_Cycle_Active                    = $80421788 ; V4  isg LONG
  2233. #MUIA_Cycle_Entries                   = $80420629 ; V4  i.. STRPTR *
  2234.  
  2235. #MUIV_Cycle_Active_Next =-1
  2236. #MUIV_Cycle_Active_Prev =-2
  2237.  
  2238.  
  2239. ;**************************************************************************
  2240. ;* Coloradjust                                                            *
  2241. ;**************************************************************************
  2242.  
  2243. Macro MUIC_Coloradjust "Coloradjust.mui" : End Macro
  2244.  
  2245. ; Methods
  2246.  
  2247.  
  2248. ; Attributes
  2249.  
  2250. #MUIA_Coloradjust_Blue                = $8042b8a3 ; V4  isg ULONG
  2251. #MUIA_Coloradjust_Green               = $804285ab ; V4  isg ULONG
  2252. #MUIA_Coloradjust_ModeID              = $8042ec59 ; V4  isg ULONG
  2253. #MUIA_Coloradjust_Red                 = $80420eaa ; V4  isg ULONG
  2254. #MUIA_Coloradjust_RGB                 = $8042f899 ; V4  isg ULONG *
  2255.  
  2256.  
  2257.  
  2258. ;**************************************************************************
  2259. ;* Palette                                                                *
  2260. ;**************************************************************************
  2261.  
  2262. Macro MUIC_Palette "Palette.mui" : End Macro
  2263.  
  2264. ; Attributes
  2265.  
  2266. #MUIA_Palette_Entries                 = $8042a3d8 ; V6  i.g struct MUI_Palette_Entry *
  2267. #MUIA_Palette_Groupable               = $80423e67 ; V6  isg BOOL
  2268. #MUIA_Palette_Names                   = $8042c3a2 ; V6  isg char ;**
  2269.  
  2270.  
  2271.  
  2272. ;**************************************************************************
  2273. ;* Popstring                                                              *
  2274. ;**************************************************************************
  2275.  
  2276. Macro MUIC_Popstring "Popstring.mui" : End Macro
  2277.  
  2278. ; Methods
  2279.  
  2280. #MUIM_Popstring_Close                 = $8042Dc52 ; V7
  2281. #MUIM_Popstring_Open                  = $804258ba ; V7
  2282. NEWTYPE.MUIP_Popstring_Close       MethodID.l:result.l : End NEWTYPE
  2283. NEWTYPE.MUIP_Popstring_Open                 MethodID.l: End NEWTYPE
  2284.  
  2285. ; Attributes
  2286.  
  2287. #MUIA_Popstring_Button                = $8042d0b9 ; V7  i.g Object *
  2288. #MUIA_Popstring_CloseHook             = $804256bf ; V7  isg struct Hook *
  2289. #MUIA_Popstring_OpenHook              = $80429d00 ; V7  isg struct Hook *
  2290. #MUIA_Popstring_String                = $804239ea ; V7  i.g Object *
  2291. #MUIA_Popstring_Toggle                = $80422b7a ; V7  isg BOOL
  2292.  
  2293.  
  2294.  
  2295. ;**************************************************************************
  2296. ;* Popobject                                                              *
  2297. ;**************************************************************************
  2298.  
  2299. Macro MUIC_Popobject "Popobject.mui" : End Macro
  2300.  
  2301. ; Attributes
  2302.  
  2303. #MUIA_Popobject_Follow                = $80424cb5 ; V7  isg BOOL
  2304. #MUIA_Popobject_Light                 = $8042a5a3 ; V7  isg BOOL
  2305. #MUIA_Popobject_Object                = $804293e3 ; V7  i.g Object *
  2306. #MUIA_Popobject_ObjStrHook            = $8042db44 ; V7  isg struct Hook *
  2307. #MUIA_Popobject_StrObjHook            = $8042fbe1 ; V7  isg struct Hook *
  2308. #MUIA_Popobject_Volatile              = $804252ec ; V7  isg BOOL
  2309. #MUIA_Popobject_WindowHook            = $8042f194 ; V9  isg struct Hook *
  2310.  
  2311.  
  2312.  
  2313. ;**************************************************************************
  2314. ;* Poplist                                                                *
  2315. ;**************************************************************************
  2316.  
  2317. Macro MUIC_Poplist "Poplist.mui" : End Macro
  2318.  
  2319. ; Attributes
  2320.  
  2321. #MUIA_Poplist_Array                   = $8042084c ; V8  i.. char ;**
  2322.  
  2323.  
  2324.  
  2325. ;**************************************************************************
  2326. ;* Popscreen                                                              *
  2327. ;**************************************************************************
  2328.  
  2329. Macro MUIC_Popscreen "Popscreen.mui" : End Macro
  2330.  
  2331. ; Attributes
  2332.  
  2333.  
  2334.  
  2335.  
  2336. ;**************************************************************************
  2337. ;* Popasl                                                                 *
  2338. ;**************************************************************************
  2339.  
  2340. Macro MUIC_Popasl "Popasl.mui" : End Macro
  2341.  
  2342. ; Attributes
  2343.  
  2344. #MUIA_Popasl_Active                   = $80421b37 ; V7  ..g BOOL
  2345. #MUIA_Popasl_StartHook                = $8042b703 ; V7  isg struct Hook *
  2346. #MUIA_Popasl_StopHook                 = $8042d8d2 ; V7  isg struct Hook *
  2347. #MUIA_Popasl_Type                     = $8042df3d ; V7  i.g ULONG
  2348.  
  2349.  
  2350.  
  2351. ;**************************************************************************
  2352. ;* Semaphore                                                              *
  2353. ;**************************************************************************
  2354.  
  2355. Macro MUIC_Semaphore "Semaphore.mui" : End Macro
  2356.  
  2357. ; Methods
  2358.  
  2359. #MUIM_Semaphore_Attempt               = $80426ce2 ; V11
  2360. #MUIM_Semaphore_AttemptShared         = $80422551 ; V11
  2361. #MUIM_Semaphore_Obtain                = $804276f0 ; V11
  2362. #MUIM_Semaphore_ObtainShared          = $8042ea02 ; V11
  2363. #MUIM_Semaphore_Release               = $80421f2d ; V11
  2364. NEWTYPE.MUIP_Semaphore_Attempt              MethodID.l: End NEWTYPE
  2365. NEWTYPE.MUIP_Semaphore_AttemptShared        MethodID.l: End NEWTYPE
  2366. NEWTYPE.MUIP_Semaphore_Obtain               MethodID.l: End NEWTYPE
  2367. NEWTYPE.MUIP_Semaphore_ObtainShared         MethodID.l: End NEWTYPE
  2368. NEWTYPE.MUIP_Semaphore_Release              MethodID.l: End NEWTYPE
  2369.  
  2370.  
  2371. ;**************************************************************************
  2372. ;* Applist                                                                *
  2373. ;**************************************************************************
  2374.  
  2375. Macro MUIC_Applist "Applist.mui" : End Macro
  2376.  
  2377. ; Methods
  2378.  
  2379.  
  2380.  
  2381. ;**************************************************************************
  2382. ;* Cclist                                                                 *
  2383. ;**************************************************************************
  2384.  
  2385. Macro MUIC_Cclist "Cclist.mui" : End Macro
  2386.  
  2387. ; Methods
  2388.  
  2389.  
  2390.  
  2391. ;**************************************************************************
  2392. ;* Dataspace                                                              *
  2393. ;**************************************************************************
  2394.  
  2395. Macro MUIC_Dataspace "Dataspace.mui" : End Macro
  2396.  
  2397. ; Methods
  2398.  
  2399. #MUIM_Dataspace_Add                   = $80423366 ; V11
  2400. #MUIM_Dataspace_Clear                 = $8042b6c9 ; V11
  2401. #MUIM_Dataspace_Find                  = $8042832c ; V11
  2402. #MUIM_Dataspace_Merge                 = $80423e2b ; V11
  2403. #MUIM_Dataspace_ReadIFF               = $80420dfb ; V11
  2404. #MUIM_Dataspace_Remove                = $8042dce1 ; V11
  2405. #MUIM_Dataspace_WriteIFF              = $80425e8e ; V11
  2406. NEWTYPE.MUIP_Dataspace_Add         MethodID.l:*_data.b:_len.l:id.l : End NEWTYPE
  2407. ;/Normally data and len (no _)                 ^       ^
  2408. NEWTYPE.MUIP_Dataspace_Clear                MethodID.l: End NEWTYPE
  2409. NEWTYPE.MUIP_Dataspace_Find        MethodID.l:id.l : End NEWTYPE
  2410. NEWTYPE.MUIP_Dataspace_Merge       MethodID.l:*dataspace.b : End NEWTYPE
  2411. ;/Normally .Object                                      ^
  2412. NEWTYPE.MUIP_Dataspace_ReadIFF     MethodID.l:*_handle.b : End NEWTYPE
  2413. ;/Normally handle (no _) and .IFFHandle         ^      ^
  2414. NEWTYPE.MUIP_Dataspace_Remove      MethodID.l:id.l : End NEWTYPE
  2415. NEWTYPE.MUIP_Dataspace_WriteIFF    MethodID.l:  *_handle.b:_type.l:id.l : End NEWTYPE
  2416. ;/Normally handle and type (no _) and .IFFHandle ^      ^  ^
  2417.  
  2418. ; Attributes
  2419.  
  2420. #MUIA_Dataspace_Pool                  = $80424cf9 ; V11 i.. APTR
  2421.  
  2422.  
  2423.  
  2424. ;**************************************************************************
  2425. ;* Configdata                                                             *
  2426. ;**************************************************************************
  2427.  
  2428. Macro MUIC_Configdata "Configdata.mui" : End Macro
  2429.  
  2430. ; Methods
  2431.  
  2432.  
  2433. ; Attributes
  2434.  
  2435.  
  2436.  
  2437.  
  2438. ;**************************************************************************
  2439. ;* Dtpic                                                                  *
  2440. ;**************************************************************************
  2441.  
  2442. Macro MUIC_Dtpic "Dtpic.mui" : End Macro
  2443.  
  2444. ; Attributes
  2445.  
  2446.  
  2447.  
  2448.  
  2449. ;***************************************
  2450. ; End of automatic header file creation
  2451. ;***************************************
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459. ;************************************************************************
  2460. ;** Structures and Macros for creating custom classes.
  2461. ;************************************************************************
  2462.  
  2463.  
  2464. ;** GENERAL NOTES:
  2465. ;**
  2466. ;** - Everything described in this header file is only valid within
  2467. ;**   MUI classes. You may never use any of these things out of
  2468. ;**   a class, e.g. in a traditional MUI application.
  2469. ;**
  2470. ;** - Except when otherwise stated, all structures are strictly read only.
  2471.  
  2472.  
  2473.  
  2474. ; Global information for every object
  2475.  
  2476. NEWTYPE.MUI_GlobalInfo
  2477.         priv0.l
  2478.         *mgi_ApplicationObject.b ;/Normally .Object
  2479.  
  2480.         ; ... private data follows ...
  2481. End NEWTYPE
  2482.  
  2483.  
  2484. ; Instance data of notify class
  2485.  
  2486. NEWTYPE.MUI_NotifyData
  2487.         *mnd_GlobalInfo.MUI_GlobalInfo
  2488.         mnd_UserData.l
  2489.         mnd_ObjectID.l
  2490.         priv1.l
  2491.         priv2.l
  2492.         priv3.l
  2493.         priv4.l
  2494. End NEWTYPE
  2495.  
  2496.  
  2497. ; MUI_MinMax structure holds information about minimum, maximum
  2498. ;   and default dimensions of an object.
  2499.  
  2500. NEWTYPE.MUI_MinMax
  2501.         MinWidth.w
  2502.         MinHeight.w
  2503.         MaxWidth.w
  2504.         MaxHeight.w
  2505.         DefWidth.w
  2506.         DefHeight.w
  2507. End NEWTYPE
  2508.  
  2509. #MUI_MAXMAX= 10000 ; use this if a dimension is not limited.
  2510.  
  2511.  
  2512. NEWTYPE.MUI_LayoutMsg_Size ;Normally, this structure is direcly declared
  2513.  Width.l                   ;in the MUI_LayoutMsg structure .
  2514.  Height.l                  ;However, in Blitz, it isn't possible,
  2515.  priv5.l                   ;so I had to do it this way .
  2516.  priv6.l
  2517. End NEWTYPE
  2518.  
  2519. ; Hook message for custom layout
  2520.  
  2521. NEWTYPE.MUI_LayoutMsg
  2522.         lm_Type.l     ; type of message (see defines below)
  2523.         *lm_Children.b ; list of this groups children, traverse with NextObject()
  2524. ;/Normally .MinList ^
  2525.         lm_MinMax.MUI_MinMax   ; results for MUILM_MINMAX
  2526.         lm_Layout.MUI_LayoutMsg_Size   ; size (and result) for MUILM_LAYOUT
  2527. End NEWTYPE
  2528.  
  2529. #MUILM_MINMAX  =  1  ; MUI wants you to calc your min & max sizes
  2530. #MUILM_LAYOUT  =  2  ; MUI wants you to layout your children
  2531.  
  2532. #MUILM_UNKNOWN = -1  ; return this if your hook doesn't implement lm_Type
  2533.  
  2534.  
  2535. ; (partial) instance data of area class
  2536.  
  2537. NEWTYPE.MUI_AreaData
  2538.         *mad_RenderInfo.MUI_RenderInfo     ; RenderInfo for this object
  2539.         priv7.l
  2540.         *mad_Font.b           ; Font
  2541. ;/               ^  Normally .TextFont
  2542.         mad_MinMax.MUI_MinMax         ; min/max/default sizes
  2543.         mad_Box.IBox            ; position and dimension
  2544.         mad_addleft.b        ; frame & innerspacing left offset
  2545.         mad_addtop.b         ; frame & innerspacing top offset
  2546.         mad_subwidth.b       ; frame & innerspacing add. width
  2547.         mad_subheight.b      ; frame & innerspacing add. height
  2548.         mad_Flags.l          ; see definitions below
  2549.  
  2550.         ; ... private data follows ...
  2551. End NEWTYPE
  2552.  
  2553. ; Definitions for mad_Flags, other flags are private
  2554.  
  2555. #MADF_DRAWOBJECT         = (1 LSL  0) ; completely redraw yourself
  2556. #MADF_DRAWUPDATE         = (1 LSL  1) ; only update yourself
  2557.  
  2558.  
  2559.  
  2560. ; MUI's draw pens
  2561.  
  2562. #MPEN_SHINE     = 0
  2563. #MPEN_HALFSHINE = 1
  2564. #MPEN_BACKGROUND= 2
  2565. #MPEN_HALFSHADOW= 3
  2566. #MPEN_SHADOW    = 4
  2567. #MPEN_TEXT      = 5
  2568. #MPEN_FILL      = 6
  2569. #MPEN_MARK      = 7
  2570. #MPEN_COUNT     = 8
  2571.  
  2572.  
  2573. ; Mask for pens from MUI_ObtainPen()
  2574.  
  2575. #MUIPEN_MASK  = $0000ffff
  2576. Macro MUIPEN ((`1) & #MUIPEN_MASK) : End Macro
  2577.  
  2578.  
  2579. ; Information on display environment
  2580.  
  2581. NEWTYPE.MUI_RenderInfo
  2582.         *mri_WindowObject.b  ; valid between MUIM_Setup/MUIM_Cleanup
  2583. ;/Normally .Object       ^
  2584.         *mri_Screen.b        ; valid between MUIM_Setup/MUIM_Cleanup
  2585. ;/Normally .Screen ^
  2586.         *mri_DrawInfo.b      ; valid between MUIM_Setup/MUIM_Cleanup
  2587. ;/Normally .DrawInfo ^
  2588.         *mri_Pens.w          ; valid between MUIM_Setup/MUIM_Cleanup
  2589.         *mri_Window.b        ; valid between MUIM_Show/MUIM_Hide
  2590. ;/Normally .Window ^
  2591.         *mri_RastPort.b      ; valid between MUIM_Show/MUIM_Hide
  2592. ;/Normally .RastPort ^
  2593.         mri_Flags.l         ; valid between MUIM_Setup/MUIM_Cleanup
  2594.  
  2595.         ; ... private data follows ...
  2596. End NEWTYPE
  2597.  
  2598. ;** If mri_Flags & MUIMRI_RECTFILL, RectFill() is quicker
  2599. ;** than Move()/Draw() for horizontal or vertical lines.
  2600. ;** on the current display.
  2601.  
  2602. #MUIMRI_RECTFILL  = (1 LSL 0)
  2603.  
  2604. ;** If mri_Flags & MUIMRI_TRUECOLOR, display environment is a
  2605. ;** cybergraphics emulated hicolor or true color display.
  2606.  
  2607. #MUIMRI_TRUECOLOR  = (1 LSL 1)
  2608.  
  2609. ;** If mri_Flags & MUIMRI_THINFRAMES, MUI uses thin frames
  2610. ;** (1:1) apsect ratio instead of standard 2:1 frames.
  2611.  
  2612. #MUIMRI_THINFRAMES  = (1 LSL 2)
  2613.  
  2614. ;** If mri_Flags & MUIMRI_REFRESHMODE, MUI is currently
  2615. ;** refreshing a WFLG_SIMPLEREFRESH window and is between
  2616. ;** a BeginRefresh()/EndRefresh() pair.
  2617.  
  2618. #MUIMRI_REFRESHMODE  = (1 LSL 3)
  2619.  
  2620.  
  2621. ; the following macros can be used to get pointers to an objects
  2622. ;   GlobalInfo AND RenderInfo structures.
  2623.  
  2624. NEWTYPE.__dummyXFC2__
  2625.         mnd.MUI_NotifyData
  2626.         mad.MUI_AreaData
  2627. End NEWTYPE
  2628.  
  2629. ;/5 macros removed here (see the doc)
  2630.  
  2631.  
  2632. ; User configurable keyboard events coming with MUIM_HandleInput
  2633.  
  2634.         #MUIKEY_RELEASE = -2 ; not a real key, faked when #MUIKEY_PRESS is released
  2635.         #MUIKEY_NONE    = -1
  2636.         #MUIKEY_PRESS=0
  2637.         #MUIKEY_TOGGLE=1
  2638.         #MUIKEY_UP=2
  2639.         #MUIKEY_DOWN=3
  2640.         #MUIKEY_PAGEUP=4
  2641.         #MUIKEY_PAGEDOWN=5
  2642.         #MUIKEY_TOP=6
  2643.         #MUIKEY_BOTTOM=7
  2644.         #MUIKEY_LEFT=8
  2645.         #MUIKEY_RIGHT=9
  2646.         #MUIKEY_WORDLEFT=10
  2647.         #MUIKEY_WORDRIGHT=11
  2648.         #MUIKEY_LINESTART=12
  2649.         #MUIKEY_LINEEND=13
  2650.         #MUIKEY_GADGET_NEXT=14
  2651.         #MUIKEY_GADGET_PREV=15
  2652.         #MUIKEY_GADGET_OFF=16
  2653.         #MUIKEY_WINDOW_CLOSE=17
  2654.         #MUIKEY_WINDOW_NEXT=18
  2655.         #MUIKEY_WINDOW_PREV=19
  2656.         #MUIKEY_HELP=20
  2657.         #MUIKEY_POPUP=21
  2658.         #MUIKEY_COUNT=22 ; counter
  2659.  
  2660. #MUIKEYF_PRESS         = (1 LSL #MUIKEY_PRESS)
  2661. #MUIKEYF_TOGGLE        = (1 LSL #MUIKEY_TOGGLE)
  2662. #MUIKEYF_UP            = (1 LSL #MUIKEY_UP)
  2663. #MUIKEYF_DOWN          = (1 LSL #MUIKEY_DOWN)
  2664. #MUIKEYF_PAGEUP        = (1 LSL #MUIKEY_PAGEUP)
  2665. #MUIKEYF_PAGEDOWN      = (1 LSL #MUIKEY_PAGEDOWN)
  2666. #MUIKEYF_TOP           = (1 LSL #MUIKEY_TOP)
  2667. #MUIKEYF_BOTTOM        = (1 LSL #MUIKEY_BOTTOM)
  2668. #MUIKEYF_LEFT          = (1 LSL #MUIKEY_LEFT)
  2669. #MUIKEYF_RIGHT         = (1 LSL #MUIKEY_RIGHT)
  2670. #MUIKEYF_WORDLEFT      = (1 LSL #MUIKEY_WORDLEFT)
  2671. #MUIKEYF_WORDRIGHT     = (1 LSL #MUIKEY_WORDRIGHT)
  2672. #MUIKEYF_LINESTART     = (1 LSL #MUIKEY_LINESTART)
  2673. #MUIKEYF_LINEEND       = (1 LSL #MUIKEY_LINEEND)
  2674. #MUIKEYF_GADGET_NEXT   = (1 LSL #MUIKEY_GADGET_NEXT)
  2675. #MUIKEYF_GADGET_PREV   = (1 LSL #MUIKEY_GADGET_PREV)
  2676. #MUIKEYF_GADGET_OFF    = (1 LSL #MUIKEY_GADGET_OFF)
  2677. #MUIKEYF_WINDOW_CLOSE  = (1 LSL #MUIKEY_WINDOW_CLOSE)
  2678. #MUIKEYF_WINDOW_NEXT   = (1 LSL #MUIKEY_WINDOW_NEXT)
  2679. #MUIKEYF_WINDOW_PREV   = (1 LSL #MUIKEY_WINDOW_PREV)
  2680. #MUIKEYF_HELP          = (1 LSL #MUIKEY_HELP)
  2681. #MUIKEYF_POPUP         = (1 LSL #MUIKEY_POPUP)
  2682.  
  2683.  
  2684. ; Some useful shortcuts. define MUI_NOSHORTCUTS to get rid of them
  2685. ; NOTE: These macros may only be used in custom classes and are
  2686. ; only valid if your class is inbetween the specified methods!
  2687.  
  2688. CNIF #MUI_SHORTCUTS=1
  2689.  
  2690. ;/Macros removed in BB2 interface (please see the doc)
  2691.  
  2692. CEND
  2693.  
  2694.  
  2695.  
  2696. ; MUI_CustomClass returned by MUI_CreateCustomClass()
  2697.  
  2698. NEWTYPE.MUI_CustomClass
  2699.         *mcc_UserData.b;                  ; use for whatever you want
  2700.  
  2701.         *mcc_UtilityBase.b    ; MUI has opened these libraries
  2702. ;/Normally .Library     ^
  2703.         *mcc_DOSBase.b        ; for you automatically. You can
  2704. ;/Normally .Library ^
  2705.         *mcc_GfxBase.b        ; use them or decide to open
  2706. ;/Normally .Library ^
  2707.         *mcc_IntuitionBase.b  ; your libraries yourself.
  2708. ;/Normally .Library       ^
  2709.         *mcc_Super.b           ; pointer to super class
  2710. ;/Normally .IClass ^
  2711.         *mcc_Class.b           ; pointer to the new class
  2712. ;/Normally .IClass ^
  2713.         ; ... private data follows ...
  2714. End NEWTYPE
  2715.